LLVM/project eca39eb — llvm/lib/Transforms/Utils ProfileVerify.cpp, llvm/test/Transforms/PGOProfile profcheck-indirect-calls.ll profcheck-mem-ops.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+56-4llvm/lib/Transforms/Utils/ProfileVerify.cpp
+46-0llvm/test/Transforms/PGOProfile/profcheck-mem-ops.ll
+32-0llvm/test/Transforms/PGOProfile/profcheck-indirect-calls.ll
+134-43 files

LLVM/project c142a74 — llvm/lib/Transforms/Utils ProfileVerify.cpp, llvm/test/Transforms/PGOProfile profcheck-indirect-calls.ll

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+36-4llvm/lib/Transforms/Utils/ProfileVerify.cpp
+32-0llvm/test/Transforms/PGOProfile/profcheck-indirect-calls.ll
+68-42 files

LLVM/project ddd0656 — llvm/lib/Transforms/Utils ProfileVerify.cpp, llvm/test/Transforms/PGOProfile profcheck-indirect-calls.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+36-4llvm/lib/Transforms/Utils/ProfileVerify.cpp
+32-0llvm/test/Transforms/PGOProfile/profcheck-indirect-calls.ll
+68-42 files

LLVM/project b8adfba — llvm/lib/CodeGen RegisterClassInfo.cpp, llvm/test/CodeGen/AMDGPU regpressure-stress-regalloc.mir av-split-dead-valno-crash.ll

[CodeGen] Honor `-stress-regalloc` in register pressure limits (#242579)

This PR was assisted by AI.
DeltaFile
+40-39llvm/test/CodeGen/AMDGPU/av-split-dead-valno-crash.ll
+77-0llvm/test/CodeGen/AMDGPU/regpressure-stress-regalloc.mir
+6-4llvm/lib/CodeGen/RegisterClassInfo.cpp
+123-433 files

LLVM/project 2c097f0 — llvm/test/Transforms/SLPVectorizer/AArch64 spillcost-hoisted-external-user.ll

[SLP][NFC]Add extra tests for spills/reloads costs, NFC

Pull-request: https://github.com/llvm/llvm-project/pull/243579
DeltaFile
+324-0llvm/test/Transforms/SLPVectorizer/AArch64/spillcost-hoisted-external-user.ll
+324-01 files

FreeNAS/freenas 45ddd2a — src/middlewared/middlewared/alembic/versions/27.0 2026-11-17_18-32_merge.py

Merge the NTS and API key name alembic heads

(cherry picked from commit 31b2cd9ec219abc4059192fe5d277753a5b0fba7)
DeltaFile
+24-0src/middlewared/middlewared/alembic/versions/27.0/2026-11-17_18-32_merge.py
+24-01 files

FreeNAS/freenas 37168d9 — src/middlewared/middlewared/alembic/versions/27.0 2026-11-17_18-32_merge.py

Merge the NTS and API key name alembic heads

(cherry picked from commit 31b2cd9ec219abc4059192fe5d277753a5b0fba7)
DeltaFile
+24-0src/middlewared/middlewared/alembic/versions/27.0/2026-11-17_18-32_merge.py
+24-01 files

FreeNAS/freenas 9de0530 — src/middlewared/middlewared/alembic/versions/27.0 2026-11-17_18-32_merge.py

NAS-145298 / 27.0.0 / Merge the two alembic heads that break the middlewared package build (#20245)

The middlewared package fails to build on this branch because the NTS
migration from
[#20210](https://github.com/truenas/middleware/pull/20210) and the mail
certificate validation migration from
[#20218](https://github.com/truenas/middleware/pull/20218) (which the
API key name migration builds on) were added on top of the same parent,
so `alembic upgrade head` stops with "Multiple head revisions are
present". This adds an empty merge migration joining the two heads, so
the package build and upgrades to 27.0.0 resolve to a single head. The
stable/27 and master backports carry this file unchanged, and each needs
its own merge joining that branch's current head to it.
DeltaFile
+24-0src/middlewared/middlewared/alembic/versions/27.0/2026-11-17_18-32_merge.py
+24-01 files

LLVM/project eb5fb5a — llvm/lib/Target/AMDGPU AMDGPUInstructionSelector.cpp SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU s-wakeup-barrier.ll s-barrier.ll

[AMDGPU] Expand constant named barrier matching, poison handling (#191506)

This commit factors out some utilities used to enable M0-less
s.signal.barrier.var on gfx1250 to use them for other intrinsics that
take named barrier objects, such as s.barrier.join, eliminating a bunch
of needless m0 writes when the barrier doesn't change.

In addition, this commit adds tests for other uses of the null barrier
(which are generally no-ops), and adds handling for `ptr addrspace(15)
poison`.
DeltaFile
+311-138llvm/test/CodeGen/AMDGPU/s-barrier.ll
+49-48llvm/test/CodeGen/AMDGPU/s-wakeup-barrier.ll
+44-23llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+19-11llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+423-2204 files

LLVM/project a21e00a — llvm/lib/Target/ARM ARMISelLowering.cpp, llvm/test/Transforms/AtomicExpand/ARM atomic-load-store-no-native.ll

ARM: Expand atomic load/store orderings without barriers in IR

Targets without native atomics or barriers marked i32 ATOMIC_LOAD and
ATOMIC_STORE as Custom so it could change the lowering based on the
ordering. Orderings stronger than monotonic would use the legalizer's
expansion to ATOMIC_CMP_SWAP/ATOMIC_SWAP libcalls.

Make this ordering decision in the IR expansion hooks instead since
those are expressive enough to represent the ordering constraint. This
moves the handling to AtomicExpand instead of the DAG legalizer. This
is kind of a workaround, ideally the same hook would be used by both
paths. This allows setting accurate LibCall actions on
ATOMIC_LOAD/ATOMIC_STORE.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+150-0llvm/test/Transforms/AtomicExpand/ARM/atomic-load-store-no-native.ll
+23-25llvm/lib/Target/ARM/ARMISelLowering.cpp
+173-252 files

LLVM/project 50e216e — llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.cpp

[SandboxVec][LoadStoreVec] Add Reinterpret helper for same-size type casts (NFC)

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+73-27llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+35-9llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.h
+108-362 files

LLVM/project d3e742c — llvm/lib/Transforms/IPO SampleProfile.cpp, llvm/test/Transforms/SampleProfile thinlto-orphaned-nonlocal-root.ll thinlto-orphaned-local-root.ll

merge two flags
DeltaFile
+18-32llvm/lib/Transforms/IPO/SampleProfile.cpp
+18-15llvm/test/Transforms/SampleProfile/thinlto-orphaned-local-root.ll
+12-14llvm/test/Transforms/SampleProfile/thinlto-orphaned-nonlocal-root.ll
+48-613 files

LLVM/project 3f36af3 — llvm/lib/Support MD5.cpp, llvm/unittests/Support MD5Test.cpp

[Support] Don't pass a null pointer to memcpy in MD5::update (#236817)

`MD5::update(ArrayRef<uint8_t>)` reaches its final
`memcpy(InternalState.buffer, Ptr, Size)` even when the input is empty.
A default-constructed `ArrayRef` has a null `data()`, so the call passes
a null source pointer with a size of zero. That is undefined behavior,
because `memcpy` declares its arguments nonnull, and UBSan reports it as
"passing null pointer as an argument which is declared to never be
null".

An empty update leaves the hash state unchanged, so return early.

The new test case hashes a default-constructed `ArrayRef`, which traps
under `-fsanitize=undefined` without this change.

assisted with: claude
DeltaFile
+4-0llvm/lib/Support/MD5.cpp
+1-0llvm/unittests/Support/MD5Test.cpp
+5-02 files

LLVM/project 944a3e0 — llvm/lib/CodeGen AtomicExpandPass.cpp, llvm/lib/Target/X86 X86ISelLowering.h X86ISelLowering.cpp

X86: Use the DataLayout size in the atomic expansion hooks (#243118)

getPrimitiveSizeInBits is 0 for pointers and vectors of pointers, so a
128-bit <2 x ptr> atomic load or store without AVX was not expanded to
cmpxchg16b and was selected as a non-atomic movaps.

Expanding the load to cmpxchg then hit the same problem in
expandAtomicLoadToCmpXchg, which sized the cmpxchg integer type with
getPrimitiveSizeInBits. Use the same integer type and cast chain as the
other atomic integer conversions.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+116-8llvm/test/CodeGen/X86/atomic-load-store.ll
+76-2llvm/test/Transforms/AtomicExpand/X86/expand-atomic-non-integer.ll
+16-19llvm/lib/Target/X86/X86ISelLowering.cpp
+2-2llvm/lib/CodeGen/AtomicExpandPass.cpp
+1-1llvm/lib/Target/X86/X86ISelLowering.h
+211-325 files

LLVM/project 251de7c — clang/include/clang/Basic SourceManager.h, clang/lib/Basic SourceManager.cpp

[clang] Compute the macro argument cache in linear time (#243344)

`SourceManager::getMacroArgExpandedLocation()` builds a cache of the
macro argument expansions in a file the first time it's called for that
file. For each macro argument expansion,
`associateFileChunkWithMacroArgExp` followed the argument's spelling
through every macro argument expansion it came from, down to the file.
When arguments go through chains of macros, each chain was walked once
for every expansion in it, which is quadratic in the depth of the chain.

The common `__VA_OPT__` FOR_EACH idiom hits this hard, because its
`EXPAND` macro rescans its arguments 4⁴ = 256 times:

```cpp
#define PARENS ()
#define EXPAND(...) EXPAND4(EXPAND4(EXPAND4(EXPAND4(__VA_ARGS__))))
#define EXPAND4(...) EXPAND3(EXPAND3(EXPAND3(EXPAND3(__VA_ARGS__))))
#define EXPAND3(...) EXPAND2(EXPAND2(EXPAND2(EXPAND2(__VA_ARGS__))))
#define EXPAND2(...) EXPAND1(EXPAND1(EXPAND1(EXPAND1(__VA_ARGS__))))

    [18 lines not shown]
DeltaFile
+102-72clang/lib/Basic/SourceManager.cpp
+37-0clang/unittests/Basic/SourceManagerTest.cpp
+19-5clang/include/clang/Basic/SourceManager.h
+158-773 files

FreeBSD/ports 1fe3bf9 — java/java-cup Makefile

java/java-cup: Fix typo

Reported by:    ronald

(cherry picked from commit d145ae326c1913009a368f99fafb0738768915bd)
DeltaFile
+1-1java/java-cup/Makefile
+1-11 files

FreeBSD/ports cce7c5b — www/py-pyweblib Makefile

www/py-pyweblib: Mark DEPRECATED

- Python 2 only (implicit relative imports)
- Fails to import on Python 3
- No consumers in the tree
- Set EXPIRATION_DATE 2026-12-17

(cherry picked from commit dc6414e778de88215fff0d918c62df689a3a262d)
DeltaFile
+5-2www/py-pyweblib/Makefile
+5-21 files

FreeBSD/ports 3cd0ab1 — x11/xautomation Makefile

x11/xautomation: Mark DEPRECATED

- xte cannot move the pointer on current Xorg servers
- Upstream inactive since 2015
- No consumers in the tree
- Use x11/xdotool instead
- Set EXPIRATION_DATE 2026-12-17

(cherry picked from commit 2b774e84d85a48c3c6d16c2ab1f5a402a3178734)
DeltaFile
+5-3x11/xautomation/Makefile
+5-31 files

FreeBSD/ports 6854fe9 — devel/py-pyhashxx pkg-descr Makefile, devel/py-pyhashxx/files patch-setup.py

devel/py-pyhashxx: Do not install the top-level tests package

This port installs a file into a generic directory instead of a
private sub-directory of the port:

lib/python3.11/site-packages/tests/__init__.py

This violates the directory hierarchy rules and causes install
conflicts with 16 other ports.

find_packages() picks up the tests directory, which installs a
top-level "tests" package into site-packages, and stage-qa rejects it.
Exclude it.

While here, strip the extension module (stage-qa warned that it is not
stripped), expand pkg-descr from the upstream description, add
concurrent to USE_PYTHON (the package does not change) and document the
patch.


    [9 lines not shown]
DeltaFile
+17-0devel/py-pyhashxx/files/patch-setup.py
+12-2devel/py-pyhashxx/Makefile
+7-1devel/py-pyhashxx/pkg-descr
+36-33 files

FreeBSD/ports 8e8e334 — devel/py-pyhashxx pkg-descr Makefile, devel/py-pyhashxx/files patch-setup.py

devel/py-pyhashxx: Do not install the top-level tests package

This port installs a file into a generic directory instead of a
private sub-directory of the port:

lib/python3.11/site-packages/tests/__init__.py

This violates the directory hierarchy rules and causes install
conflicts with 16 other ports.

find_packages() picks up the tests directory, which installs a
top-level "tests" package into site-packages, and stage-qa rejects it.
Exclude it.

While here, strip the extension module (stage-qa warned that it is not
stripped), expand pkg-descr from the upstream description, add
concurrent to USE_PYTHON (the package does not change) and document the
patch.


    [7 lines not shown]
DeltaFile
+17-0devel/py-pyhashxx/files/patch-setup.py
+12-2devel/py-pyhashxx/Makefile
+7-1devel/py-pyhashxx/pkg-descr
+36-33 files

LLVM/project 9613def — cmake/Modules LLVMVersion.cmake, libcxx/include __config

Bump version to 23.1.7
DeltaFile
+1-1llvm/utils/mlgo-utils/mlgo/__init__.py
+1-1llvm/utils/lit/lit/__init__.py
+1-1llvm/utils/gn/secondary/llvm/version.gni
+1-1libcxx/include/__config
+1-1cmake/Modules/LLVMVersion.cmake
+5-55 files

LLVM/project 84b60b3 — llvm/include/llvm/CodeGen RegAllocEvictionAdvisor.h, llvm/lib/CodeGen RegAllocEvictionAdvisor.cpp

[RegAlloc] Reuse failed canReassign searches until a register frees up

canReassign scans the evictee's whole allocation order on every call, so
the eviction loop is quadratic in the order length on register classes
with many registers.

LiveRegMatrix records each unassign as a (register, range) pair in a
bounded history, addressed by absolute position (FreedBase,
getFreedEnd()). An unassign the history cannot describe discards it.
-live-reg-matrix-freed-history sets the limit (default 512).

RegAllocEvictionAdvisor stores each failed search per virtual register,
with a fingerprint of the live range and the history position already
checked. A later query rechecks only the newer freed registers that
overlap the range, and their aliases, and reuses the failure if none is
free. Hint-only searches are not recorded. -regalloc-cache-failed-reassign
(default on) controls recording and reuse.

Remove the AMDGPU override that disabled local reassignment for targets

    [7 lines not shown]
DeltaFile
+108-0llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
+106-0llvm/test/CodeGen/AMDGPU/failed-reassign-cache.mir
+26-32llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+18-28llvm/test/CodeGen/AMDGPU/GlobalISel/load-constant.96.ll
+15-18llvm/test/CodeGen/AMDGPU/reassoc-mul-add-1-to-mad.ll
+31-0llvm/include/llvm/CodeGen/RegAllocEvictionAdvisor.h
+304-787 files not shown
+370-11513 files

LLVM/project 6b0a40b — llvm/lib/Target/RISCV RISCVISelLowering.cpp

[RISCV][P-ext] Replace isPackedZExtShuffleMask with a more general isPackedPairShuffleMask. (#243208)

This avoids the need for commuteMask in isVectorClearMaskLegal.
DeltaFile
+30-21llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+30-211 files

LLVM/project 8065ace — lldb/include/lldb lldb-enumerations.h, lldb/source/Plugins/ObjectFile/Mach-O ObjectFileMachO.cpp

[lldb] Upstream eSymbolTypeASTFile for Mach-O N_AST stabs (#243567)

The linker emits an N_AST stab for every -add_ast_path. Its name is the
path to a compiler AST file, such as a .swiftmodule. ParseSymtab has no
case for it, so the symbol gets an invalid type.

Add eSymbolTypeASTFile and map N_AST to it. Nothing upstream reads the
new type yet. The Swift fork does, and carries the same enumerator with
the same value.
DeltaFile
+71-0lldb/test/Shell/ObjectFile/MachO/ast-file-symbol.yaml
+7-0lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+3-1lldb/include/lldb/lldb-enumerations.h
+2-0lldb/source/Symbol/Symbol.cpp
+2-0lldb/source/Symbol/ObjectFile.cpp
+1-0lldb/source/Symbol/SymbolContext.cpp
+86-12 files not shown
+88-18 files

LLVM/project ecb76d1 — mlir/include/mlir/Dialect/MemRef/Transforms MemorySlotInterfacesImpl.h, mlir/lib/Dialect/MemRef/Transforms MemorySlotInterfacesImpl.cpp

[mlir][vector] Require in-bounds transfers in mem2reg (#242076)

Mem2Reg no longer promotes vector.transfer_read/vector.transfer_write
ops that have out-of-bounds dimensions. For transfers through dynamic
memref.subviews, lanes past a dynamic subview's extent now have to be
masked off, either by the transfer's mask operand or by an enclosing
vector.mask.

This simplifies the mem2reg promoting memory access of dynamic subview
since the promotion now can use the mask attached to transfer Op to
construct the slot value directly. So this PR removes two interfaces
which transfer_read/write model queries the subview model to construct
the mask for dynamic shape.

This follows review feedback on #234251. Requiring in-bounds transfers
makes passthru vs. padding straightforward: a read wrapped in
vector.mask uses the passthru if one is given, and the padding
otherwise. It also fits the planned removal of in_bounds and padding
from transfer ops (https://github.com/llvm/llvm-project/issues/227821,

    [6 lines not shown]
DeltaFile
+91-72mlir/test/Transforms/Mem2Reg/vector-dyn-subview.mlir
+11-21mlir/lib/Dialect/Vector/Transforms/MemorySlotInterfacesImpl.cpp
+2-23mlir/lib/Dialect/MemRef/Transforms/MemorySlotInterfacesImpl.cpp
+0-12mlir/include/mlir/Dialect/MemRef/Transforms/MemorySlotInterfacesImpl.h
+104-1284 files

LLVM/project d8e7485 — lldb/source/Plugins/Process/wasm ProcessWasm.h ProcessWasm.cpp, lldb/test/API/functionalities/gdb_remote_client TestWasm.py

[lldb] Let ProcessWasm order the call frame addresses of Wasm frames

UnwindWasm now counts frames up from the outermost one, in the invalid Wasm
address space, which has no memory, and ProcessWasm::CompareCFAs orders them, so
a synthetic address can neither decrease below zero nor fall inside linear
memory.
DeltaFile
+6-11lldb/source/Plugins/Process/wasm/UnwindWasm.cpp
+12-0lldb/source/Plugins/Process/wasm/ProcessWasm.cpp
+2-2lldb/test/API/functionalities/gdb_remote_client/TestWasm.py
+2-0lldb/source/Plugins/Process/wasm/ProcessWasm.h
+22-134 files

LLVM/project 00a784f — libc/src/__support/FPUtil double_double.h, libc/src/__support/macros CMakeLists.txt optimization.h

[libc][math] Add do not optimize macros and guard some double-double functions. (#243203)

Guard some double-double computations against `-(a * b) -> a * (-b)`
optimizations from compilers.
DeltaFile
+172-0libc/test/src/__support/FPUtil/double_double_test.cpp
+68-0libc/src/__support/macros/optimization.h
+12-0libc/test/src/__support/FPUtil/CMakeLists.txt
+10-0utils/bazel/llvm-project-overlay/libc/test/src/__support/FPUtil/BUILD.bazel
+6-0libc/src/__support/FPUtil/double_double.h
+4-0libc/src/__support/macros/CMakeLists.txt
+272-03 files not shown
+276-09 files

FreeNAS/freenas 2f66b12 — src/middlewared/middlewared/api/v27_0_0 s3.py, src/middlewared/middlewared/api/v27_1_0 s3.py

Return S3 secrets only on create and audit destructive calls

s3.accesskey query and get_instance returned every key's secret to
any holder of SHARING_S3_WRITE. The entry no longer has a secret in
any API version from 27.0.0 on. Create returns it, and so does an
update that rotates it. Nothing else does. The secret is dropped from
the rows before filtering, so a filter or sort on it reveals nothing.
The credentials file gets the secrets through a private call that
reads the datastore.

Audit these API calls, which changed data without leaving a record:
pool.snapshot.rollback, pool.snapshot.delete,
boot.environment.activate, replication.run and
replication.run_onetime.
DeltaFile
+30-14src/middlewared/middlewared/plugins/truenas_s3/accesskey_crud.py
+13-10src/middlewared/middlewared/etc_files/truenas_s3/credentials.conf.mako
+12-10tests/api2/test_s3_accesskey.py
+13-8src/middlewared/middlewared/api/v28_0_0/s3.py
+13-8src/middlewared/middlewared/api/v27_1_0/s3.py
+13-8src/middlewared/middlewared/api/v27_0_0/s3.py
+94-584 files not shown
+111-5910 files

LLVM/project af66e10 — flang/include/flang/Lower ConvertExprToHLFIR.h, flang/lib/Evaluate tools.cpp

[flang][cuda] Only transfer component in implicit data transfer (#242061)

When the right-hand side of a host assignment references a CUDA device
component, such as `out = m(1)%d(1) + h` with `d` a device allocatable
component of a managed `m`, genCUDAImplicitDataTransfer collected both
the
component and the object it is taken from. The base has no device
address
to transfer, so lowering hit `dyn_cast on a non-existent value` for
dummy
arguments, and a managed base could be transferred a second time.

The attribute of a component hides the one of its base, which is the
rule
IsCUDADataTransfer already applies. Collect the effective CUDA symbols
so a
component masks its base, and lower the component reference itself:
component symbols have no address, so the designator is lowered, copied
to

    [4 lines not shown]
DeltaFile
+92-7flang/lib/Evaluate/tools.cpp
+76-0flang/test/Semantics/CUDA/cuf-device-component-rhs.cuf
+58-6flang/lib/Lower/Bridge.cpp
+42-0flang/test/Lower/CUDA/cuda-data-transfer-implicit-component.cuf
+7-0flang/lib/Lower/ConvertExprToHLFIR.cpp
+6-0flang/include/flang/Lower/ConvertExprToHLFIR.h
+281-136 files

HardenedBSD/src 2a5e32e — sys/powerpc/powerpc elf64_machdep.c

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-4sys/powerpc/powerpc/elf64_machdep.c
+0-41 files