LLVM/project de7c63ellvm/tools/llvm-profgen PerfReader.cpp ProfileGenerator.cpp

[llvm-profgen] Add --time-profgen (#191930)

Add `NamedRegionTimer`s to main profgen phases:
- Parse and aggregate trace (`parseAndAggregateTrace`)
- Unwind samples (`unwindSamples`)
- Generate profile (`ProfileGenerator::generateProfile`)
- Generate CS profile (`CSProfileGenerator::generateProfile`)

Test Plan:
```
$ llvm-profgen --time-profgen ...

===-------------------------------------------------------------------------===
                                  llvm-profgen
===-------------------------------------------------------------------------===
  Total Execution Time: 2826.6549 seconds (2873.3410 wall clock)

   ---User Time---   --System Time--   --User+System--   ---Wall Time---  --- Name ---
  1059.4929 ( 38.1%)   8.5146 ( 17.3%)  1068.0075 ( 37.8%)  1090.6604 ( 38.0%)  Generate CS profile

    [3 lines not shown]
DeltaFile
+11-0llvm/tools/llvm-profgen/PerfReader.cpp
+5-0llvm/tools/llvm-profgen/ProfileGenerator.cpp
+1-0llvm/tools/llvm-profgen/Options.h
+17-03 files

LLVM/project 75b450fbolt/test/X86 pre-aggregated-records.s, bolt/test/X86/Inputs pre-aggregated-bad-hex.txt pre-aggregated-bad-type.txt

[BOLT] Add tests for pre-aggregated parsing (#193843)

Extends e2e coverage of pre-aggregated profile parsing to match the
unit-test coverage added in #192390:

- R (Return) records, including the branch=0 fallback path that
  rewrites to the FT_EXTERNAL_RETURN sentinel.
- r (FT_EXTERNAL_RETURN) records.
- B and T records using the negative -1 hex form (#192391),
  which is parsed as the BR_ONLY/FT_ONLY sentinel.
- Error paths: invalid record type letter and malformed hex address
  (perf2bolt is expected to exit non-zero with a parser error).

The two error-path inputs are tiny raw files under Inputs/ since they
contain intentionally malformed records that link_fdata doesn't process.

Test Plan:
added bolt/test/X86/pre-aggregated-records.s
DeltaFile
+60-0bolt/test/X86/pre-aggregated-records.s
+1-0bolt/test/X86/Inputs/pre-aggregated-bad-hex.txt
+1-0bolt/test/X86/Inputs/pre-aggregated-bad-type.txt
+62-03 files

LLVM/project 71816eflibc/src/__support/FPUtil/generic add_sub.h, libc/src/__support/math fdimf.h fdimf16.h

[libc][math] Qualify fdim funtions to constexpr (#194137)

Signed-off-by: udaykiriti <udaykiriti624 at gmail.com>
Co-authored-by: Muhammad Bassiouni <60100307+bassiounix at users.noreply.github.com>
DeltaFile
+8-0libc/test/shared/shared_math_constexpr_test.cpp
+5-1libc/src/__support/FPUtil/generic/add_sub.h
+6-0libc/test/shared/CMakeLists.txt
+3-1libc/src/__support/math/fdimf.h
+3-1libc/src/__support/math/fdimf16.h
+3-1libc/src/__support/math/fdim.h
+28-44 files not shown
+32-810 files

LLVM/project 24f4629lldb/test/API/commands/thread/backtrace TestThreadBacktraceRepeat.py

[lldb][test] Use assertIn in TestThreadBacktraceRepeat.py (NFC) (#194193)

I broke this test locally, and fixed the assets to produce more useful
output upon failure.
DeltaFile
+7-8lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py
+7-81 files

LLVM/project 13e7958llvm/test/CodeGen/AMDGPU/NextUseAnalysis spill-vreg-many-lanes.mir acyclic-770bb.mir

rebase

Created using spr 1.3.4
DeltaFile
+275,101-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/spill-vreg-many-lanes.mir
+144,679-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/acyclic-770bb.mir
+57,682-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/double-nested-loops-complex-cfg.mir
+41,844-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills2.mir
+40,613-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills1.mir
+37,209-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills3.mir
+597,128-05,383 files not shown
+1,085,016-125,6375,389 files

LLVM/project e55f02fllvm/test/CodeGen/AMDGPU/NextUseAnalysis spill-vreg-many-lanes.mir acyclic-770bb.mir

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]
DeltaFile
+275,101-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/spill-vreg-many-lanes.mir
+144,679-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/acyclic-770bb.mir
+57,682-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/double-nested-loops-complex-cfg.mir
+41,844-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills2.mir
+40,613-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills1.mir
+37,209-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills3.mir
+597,128-05,383 files not shown
+1,085,016-125,6375,389 files

FreeBSD/ports 66b60f9security/sequoia-chameleon-gnupg distinfo Makefile.crates

security/sequoia-chameleon-gnupg: update openssl crates

...for LibreSSL 4.3 compatibility
DeltaFile
+5-5security/sequoia-chameleon-gnupg/distinfo
+2-2security/sequoia-chameleon-gnupg/Makefile.crates
+7-72 files

FreeBSD/ports ae1ac90security/sequoia-sq distinfo Makefile.crates

security/sequoia-sq: update openssl crates

...for LibreSSL 4.3 compatibility
DeltaFile
+5-5security/sequoia-sq/distinfo
+2-2security/sequoia-sq/Makefile.crates
+7-72 files

LLVM/project 46154febolt/docs profiles.md, bolt/lib/Profile DataReader.cpp DataAggregator.cpp

[BOLT] Support negative hex in pre-aggregated profile (#192391)

Handle signed values in parseHexField by falling back to int64_t parsing
when uint64_t fails. This allows pre-aggregated profile tools to use -1
for BR_ONLY, -2 for FT_EXTERNAL_ORIGIN, -3 for FT_EXTERNAL_RETURN.

Guard the external address reset loop in parseAggregatedLBREntry to
preserve sentinel values (offsets >= FT_EXTERNAL_RETURN).

Add tests for -1/-2/-3 in parseHexField and T entries with -1,
ffffffffffffffff, and buildid:-1 as BR_ONLY.
DeltaFile
+44-6bolt/docs/profiles.md
+40-0bolt/unittests/Profile/DataAggregator.cpp
+8-3bolt/lib/Profile/DataReader.cpp
+4-2bolt/lib/Profile/DataAggregator.cpp
+96-114 files

FreeBSD/ports 49eee6amath/mpir Makefile distinfo

math/mpir: Fix upstream site

Apparently, the old domain no longer belongs to the upstream.
However, the source code is available on GitHub.

While here pet portclippy.

PR:             294784
Approved by:    wen (maintainer)
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit 4446355417e101af1680a69aab8a181b90faa664)
DeltaFile
+11-7math/mpir/Makefile
+3-3math/mpir/distinfo
+14-102 files

FreeBSD/ports 4446355math/mpir Makefile distinfo

math/mpir: Fix upstream site

Apparently, the old domain no longer belongs to the upstream.
However, the source code is available on GitHub.

While here pet portclippy.

PR:             294784
Approved by:    wen (maintainer)
Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+11-7math/mpir/Makefile
+3-3math/mpir/distinfo
+14-102 files

LLVM/project 53f7610llvm/test/CodeGen/AMDGPU/NextUseAnalysis spill-vreg-many-lanes.mir acyclic-770bb.mir

rebase

Created using spr 1.3.4
DeltaFile
+275,101-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/spill-vreg-many-lanes.mir
+144,679-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/acyclic-770bb.mir
+57,682-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/double-nested-loops-complex-cfg.mir
+41,844-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills2.mir
+40,613-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills1.mir
+37,209-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills3.mir
+597,128-05,382 files not shown
+1,084,972-125,6315,388 files

LLVM/project 2954251llvm/test/CodeGen/AMDGPU/NextUseAnalysis spill-vreg-many-lanes.mir acyclic-770bb.mir

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]
DeltaFile
+275,101-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/spill-vreg-many-lanes.mir
+144,679-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/acyclic-770bb.mir
+57,682-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/double-nested-loops-complex-cfg.mir
+41,844-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills2.mir
+40,613-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills1.mir
+37,209-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills3.mir
+597,128-05,382 files not shown
+1,084,972-125,6315,388 files

LLVM/project cd2cf73bolt/include/bolt/Profile DataAggregator.h, bolt/unittests/Profile DataAggregator.cpp

[BOLT] Add unit tests for pre-aggregated profile parsing (#192390)

Add PreAggregatedTestHelper fixture with friend access to DataAggregator
internals. Add tests for parseHexField and all pre-aggregated entry
types (B, F, f, r, T, R).
DeltaFile
+198-2bolt/unittests/Profile/DataAggregator.cpp
+1-0bolt/include/bolt/Profile/DataAggregator.h
+199-22 files

NetBSD/pkgsrc U5VQAUageography/gdal-lib Makefile

   geography/gdal-lib: Reset PKGREVISION after update.
VersionDeltaFile
1.199+2-2geography/gdal-lib/Makefile
+2-21 files

FreeBSD/ports ec86265archivers/minizip-ng Makefile distinfo, archivers/minizip-ng/files patch-CMakeLists.txt

archivers/minizip-ng: Update 4.1.1 => 4.1.2

Changelog:
https://github.com/zlib-ng/minizip-ng/releases/tag/4.1.2

Sponsored by:   UNIS Labs
DeltaFile
+6-5archivers/minizip-ng/Makefile
+0-10archivers/minizip-ng/files/patch-CMakeLists.txt
+3-3archivers/minizip-ng/distinfo
+3-2archivers/minizip-ng/pkg-plist
+12-204 files

NetBSD/pkgsrc d1O3YcRdoc CHANGES-2026

   doc: Updated geography/py-gdal to 3.12.4
VersionDeltaFile
1.2574+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc OiYWCmNgeography/gdal-lib distinfo Makefile.common, geography/proj distinfo Makefile

   geography/gdal*: Update to 3.12.4

   This is a micro release (from 3.12.3).  Tested with wip/qgis4.
VersionDeltaFile
1.37+4-4geography/proj/distinfo
1.80+4-4geography/gdal-lib/distinfo
1.43+2-2geography/gdal-lib/Makefile.common
1.66+2-2geography/proj/Makefile
+12-124 files

LLVM/project cb9b66cllvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer revec-shufflevector.ll

[SLP]Initial support for non-power-of-2 vectorization

Enables non-power-of-2 vectorization within the SLP tree. The root nodes
are still required to be power-of-2, will be addressed in a follow-up
patches.

Recommit after revert in e19f36ff8189f1bd6d3b214d2c30ab8ef0639678

Original Pull Request: https://github.com/llvm/llvm-project/pull/151530

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/194189
DeltaFile
+442-220llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+64-154llvm/test/Transforms/SLPVectorizer/RISCV/reordered-buildvector-scalars.ll
+156-0llvm/test/Transforms/SLPVectorizer/AArch64/long-non-power-of-2.ll
+26-44llvm/test/Transforms/SLPVectorizer/revec-shufflevector.ll
+50-14llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
+29-33llvm/test/Transforms/SLPVectorizer/X86/parent-node-schedulable-with-multi-copyables.ll
+767-46563 files not shown
+1,118-91969 files

FreeBSD/ports 1c7000b. UPDATING, security/openssh-portable Makefile

security/openssh-portable: Disable X11Forwarding by default.

This syncs with src and upstream.

Submitted by:   jlduran
Differential Revision:  https://reviews.freebsd.org/D53268
DeltaFile
+0-9security/openssh-portable/files/patch-sshd_config
+0-9security/openssh-portable/files/patch-servconf.c
+0-9security/openssh-portable/files/patch-sshd_config.5
+7-0UPDATING
+1-1security/openssh-portable/Makefile
+8-285 files

OpenZFS/src cd06f79. configure.ac

build: use pax tar format for make dist

Automake's default tar formats (v7 pre-1.18, ustar since) impose path
length limits that drop several long test filenames from the release
tarball when `make dist` runs. Pax format has no such limit and is
read by GNU tar 1.14+ and libarchive/bsdtar.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Christos Longros <chris.longros at gmail.com>
Closes: #17276
Closes: #18465
DeltaFile
+1-1configure.ac
+1-11 files

LLVM/project fc99b67libc/src/__support/FPUtil BasicOperations.h, libc/src/__support/math CMakeLists.txt fmaximum_mag_numbf16.h

Revert "[libc][math] Refactor fmaximum_mag_num family to header-only" (#194183)

Reverts llvm/llvm-project#182169
DeltaFile
+2-47utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+0-30libc/src/__support/math/CMakeLists.txt
+11-16libc/src/__support/FPUtil/BasicOperations.h
+0-26libc/src/__support/math/fmaximum_mag_numbf16.h
+0-25libc/src/__support/math/fmaximum_mag_numf.h
+0-25libc/src/__support/math/fmaximum_mag_num.h
+13-16911 files not shown
+34-26817 files

LLVM/project 23cc957libc/src/__support/FPUtil BasicOperations.h, libc/src/__support/math CMakeLists.txt fmaximum_mag_numbf16.h

[libc][math] Refactor fmaximum_mag_num family to header-only (#182169)

Refactors the fmaximum_mag_num math family to be header-only.

Closes https://github.com/llvm/llvm-project/issues/182168

Target Functions:
  - fmaximum_mag_num
  - fmaximum_mag_numbf16
  - fmaximum_mag_numf

---------

Co-authored-by: Muhammad Bassiouni <60100307+bassiounix at users.noreply.github.com>
DeltaFile
+47-2utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+30-0libc/src/__support/math/CMakeLists.txt
+16-11libc/src/__support/FPUtil/BasicOperations.h
+26-0libc/src/__support/math/fmaximum_mag_numbf16.h
+25-0libc/src/__support/math/fmaximum_mag_num.h
+25-0libc/src/__support/math/fmaximum_mag_numf.h
+169-1311 files not shown
+268-3417 files

OpenZFS/src 2a9a70ainclude libzfs_core.h

include: Remove duplicate lzc_send_space prototype

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Ryan Moeller <ryan.moeller at klarasystems.com>
Closes #18463
DeltaFile
+0-2include/libzfs_core.h
+0-21 files

NetBSD/pkgsrc CmoNmA5doc CHANGES-2026

   Added lang/souffle version 2.5.
VersionDeltaFile
1.2573+2-1doc/CHANGES-2026
+2-11 files

FreeBSD/ports 7344e60security/openssh-portable Makefile, security/openssh-portable/files extra-patch-hpn

security/openssh-portable: Fix NONE_CIPHER.

Tested with:
        sshd_config:
          NoneEnabled yes

        # ssh -o NoneSwitch=yes -o NoneEnabled=yes -vv cmd...

Note that the `none` cipher is _never enabled for interactive TTY_.

PR:             292710
Submitted by:   Andre Albsmeier

(cherry picked from commit 069c72440f3ba0bb85461b621f0f9d861b842192)
DeltaFile
+6-2security/openssh-portable/files/extra-patch-hpn
+1-1security/openssh-portable/Makefile
+7-32 files

NetBSD/pkgsrc QDavAbrlang Makefile

   Add lang/souffle.
VersionDeltaFile
1.785+2-1lang/Makefile
+2-11 files

FreeBSD/ports 069c724security/openssh-portable Makefile, security/openssh-portable/files extra-patch-hpn

security/openssh-portable: Fix NONE_CIPHER.

Tested with:
        sshd_config:
          NoneEnabled yes

        # ssh -o NoneSwitch=yes -o NoneEnabled=yes -vv cmd...

Note that the `none` cipher is _never enabled for interactive TTY_.

PR:             292710
Submitted by:   Andre Albsmeier
DeltaFile
+6-2security/openssh-portable/files/extra-patch-hpn
+1-1security/openssh-portable/Makefile
+7-32 files

NetBSD/pkgsrc ILFfvl0mk/defaults options.description

   Add souffle-64bit option for lang/souffle.
VersionDeltaFile
1.759+1-0mk/defaults/options.description
+1-01 files

NetBSD/pkgsrc 2UrWM0blang/souffle PLIST Makefile, lang/souffle/patches patch-src_CMakeLists.txt

   Initial import of lang/souffle, version 2.5.

   Souffle is  a variant of Datalog for tool designers crafting analyses
   in Horn clauses. Souffle  synthesizes a native parallel C++ program
   from a logic specification.
VersionDeltaFile
1.1+101-0lang/souffle/PLIST
1.1+69-0lang/souffle/patches/patch-src_CMakeLists.txt
1.1+45-0lang/souffle/Makefile
1.1+28-0lang/souffle/options.mk
1.1+6-0lang/souffle/distinfo
1.1+3-0lang/souffle/DESCR
+252-06 files