LLVM/project b7ad2ca — llvm/include/llvm/Transforms/Utils ScalarEvolutionExpander.h, llvm/lib/Transforms/Utils ScalarEvolutionExpander.cpp

[SCEVExpander] Also apply 0/poison-free expansion to URem. (#243898)

Also apply SAfeUDivMode to expanding URem in SCEVExpander, which
triggers UB on zero or poison, similar to UDiv.

The code for expanding a safe divisor is moved to a helper.

PR: https://github.com/llvm/llvm-project/pull/243898
DeltaFile
+85-0llvm/test/Transforms/LoopVectorize/trip-count-expansion-may-introduce-ub.ll
+84-0llvm/test/Transforms/LoopUnroll/runtime-loop-known-exit.ll
+25-20llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
+11-7llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
+2-2llvm/lib/Transforms/Vectorize/VPlanLowering.cpp
+207-295 files

OPNSense/core ec0f6e7 — src/etc/inc/plugins.inc.d vxlan.inc

vxlan: add assigning issue as comment
DeltaFile
+1-1src/etc/inc/plugins.inc.d/vxlan.inc
+1-11 files

LLVM/project bb982c9 — llvm/test/CodeGen/AArch64/Atomics aarch64_be-atomicrmw-lscp.ll aarch64-atomicrmw-lscp.ll, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.512bit.ll amdgcn.bitcast.960bit.ll

Merge branch 'main' into users/kosarev/mtbuf-dfmt-nfmt-comma
DeltaFile
+15,980-15,802llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+1,204-20,133utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+9,174-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lscp.ll
+8,819-0llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-lscp.ll
+4,234-4,282llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+3,948-4,025llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+43,359-44,2429,677 files not shown
+502,601-272,9359,683 files

LLVM/project 8c2c546 — llvm/lib/Transforms/Vectorize VPlanRecipes.cpp

[LV] Don't fall back on legacy cost model for unknown replicates (#243844)

In VPReplicateRecipe::computeCost we currently call getLegacyCost if we
encounter an unknown opcode, however I think the cost model here is
sufficiently complete for us to mimic the behaviour of
getInstructionCost in LoopVectorize.cpp and simply return the cost of a
mul. I tried putting a llvm_unreachable in the default case and no test
failed and I also didn't hit the error when compiling the LLVM test
suite.
DeltaFile
+7-4llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+7-41 files

LLVM/project 6ea5f55 — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 vector-shuffle-combining-avx512f.ll

[X86] Fix f64 mask encoding in demanded-elts VPERMV to VPERMILPV narrowing (#238829)

SimplifyDemandedVectorEltsForTargetNode narrows a 256-bit X86ISD::VPERMV
whose upper elements are not demanded to a 128-bit X86ISD::VPERMILPV. It
passes the VPERMV mask through unchanged. VPERMV masks hold plain
element indices, but VPERMILPD selects with bit 1 of each mask element.
So for f64, index 1 decodes as element 0, and the narrowed permute then
folds to its input.

According to Claude (I left it here as it might be helpful):
The bad narrowing is older. It became reachable after 961ab7a36967
("[SDAG][X86] Uplift pseudo fmin/fmax from X86"), which routes the x86
fmin/fmax intrinsics through ISD::PSEUDO_FMAX. I found this by reading
the code. I did not confirm it with a build bisect.

Assisted-by: Claude (Anthropic)
DeltaFile
+31-0llvm/test/CodeGen/X86/vector-shuffle-combining-avx512f.ll
+9-0llvm/lib/Target/X86/X86ISelLowering.cpp
+40-02 files

LLVM/project a3845f4 — libcxxabi/src private_typeinfo.h private_typeinfo.cpp

[libc++abi] Remove found_our_static_ptr and found_any_static_type from __dynamic_cast_info
DeltaFile
+95-113libcxxabi/src/private_typeinfo.cpp
+4-6libcxxabi/src/private_typeinfo.h
+99-1192 files

LLVM/project 27b1a69 — llvm/test/Transforms/FunctionAttrs nocapture.ll

[FunctionAttrs][test] Update nocapture.ll (NFC) (#244136)

- Update UTC_ARGS to 6
- Rename variables starting with `%tmp` to fix `update_test_checks.py`
warnings.
- Remove `; <type> [#uses=N]` lines.
DeltaFile
+381-370llvm/test/Transforms/FunctionAttrs/nocapture.ll
+381-3701 files

LLVM/project 93bbf2a — llvm/lib/CodeGen/SelectionDAG LegalizeVectorTypes.cpp, llvm/lib/Target/X86 X86TargetTransformInfo.cpp X86ISelLowering.cpp

[X86] Lower i16 partial reductions to PMADDWD on targets without VNNI (#240904)

Part of #223374. The first commit adds the tests (NFC, #240903); the
second commit is the change.

Without VNNI, an i16 × i16 → i32 partial reduction was expanded and only
partly folded back into PMADDWD. That came to 11 instructions for a
v4i32 accumulator on SSE2, and pmulhw/pmullw sequences for v8i32. This
marks signed i16 × i16 → i32 partial reductions as Custom (512-bit only
with BWI registers, and not when PMADDWD is slow) and lowers them to
`add(acc, pmaddwd(a, b))`. The partial reduction leaves the lane
grouping unspecified. A wrap case (all four inputs 0x8000) matches
VPDPWSSD.

Instruction counts for v4i32 / v8i32 / v16i32 accumulators:
- SSE2: 11 / 16 / 36 → 2 / 4 / 8.
- AVX2: 6 / 10 / 20 → 2 / 2 / 4.
- AVX512BW v16i32: 10 → 2.


    [18 lines not shown]
DeltaFile
+57-363llvm/test/CodeGen/X86/vector-partial-reduce-smla.ll
+39-1llvm/test/CodeGen/X86/vector-partial-reduce-smla-widen.ll
+24-1llvm/lib/Target/X86/X86ISelLowering.cpp
+8-8llvm/test/Transforms/LoopVectorize/X86/CostModel/partial-reduce-dot-product-no-vnni.ll
+12-0llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+6-0llvm/lib/Target/X86/X86TargetTransformInfo.cpp
+146-3731 files not shown
+147-3737 files

FreeBSD/ports 8a418c1 — net-p2p/clboss distinfo Makefile

net-p2p/clboss: upgrade from 0.17.2 to 0.17.3
DeltaFile
+3-3net-p2p/clboss/distinfo
+3-3net-p2p/clboss/Makefile
+6-62 files

FreeBSD/ports 9aa4142 — dns/powerdns Makefile distinfo

dns/powerdns: Fix undefined symbols in pdnsutil for the bind and Lua2 backends

PR:             300801
Reported by:    krion
DeltaFile
+5-1dns/powerdns/distinfo
+4-0dns/powerdns/Makefile
+9-12 files

FreeBSD/src 0c1a482 — lib/libpfctl libpfctl.c, tests/sys/netpfil/pf table.sh

libpfctl: fix tstats address count

Reported by:    Marcos Mendoza <mmendoza at netgate.com>
See also:       https://redmine.pfsense.org/issues/16588
Sponsored by:   Rubicon Communications, LLC ("Netgate")

(cherry picked from commit ad7f49f98b1ae7504f69db897901a055613c8300)
DeltaFile
+4-0tests/sys/netpfil/pf/table.sh
+2-1lib/libpfctl/libpfctl.c
+6-12 files

LLVM/project ae38cd5 — llvm/lib/Target/RISCV RISCVTargetTransformInfo.cpp, llvm/test/Transforms/LoopVectorize/RISCV compress-idioms-cost.ll

[RISCV] Cost scalable i1 add reduction as vcpop.m. (#244109)

This patch update the cost of `vector.reduce.add(<vscale x n x i1>)` as
`vcpop.m`.

Fixes
https://github.com/llvm/llvm-project/pull/240326/changes#r4612749556.
DeltaFile
+94-0llvm/test/Transforms/LoopVectorize/RISCV/compress-idioms-cost.ll
+5-6llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+99-62 files

LLVM/project f203062 — llvm/lib/Target/AArch64 AArch64SVEInstrInfo.td

fixup! [AArch64] Add patterns to combine SVE AND and XOR to BIC

Resolve review comments.
DeltaFile
+37-40llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
+37-401 files

LLVM/project f28d8ea — mlir/lib/Conversion/ComplexToStandard ComplexToStandard.cpp, mlir/test/Conversion/ComplexToStandard convert-to-standard.mlir

[mlir][ComplexToStandard] Fix intermediate result fmf in exp lowering (#243397)

When computing `complex.exp(x + iy)`, the intermediate result `exp(x)`
may overflow even though the final result doesn't. Passing the `ninf`
flag to it (and to the inf comparison) is thus incorrect, and leads to
the branch that handles the overflow case being optimized out.
DeltaFile
+22-1mlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir
+6-3mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
+28-42 files

LLVM/project b736af2 — libcxxabi/src private_typeinfo.h private_typeinfo.cpp

[libc++abi] Remove found_our_static_ptr and found_any_static_type from __dynamic_cast_info
DeltaFile
+93-110libcxxabi/src/private_typeinfo.cpp
+4-6libcxxabi/src/private_typeinfo.h
+97-1162 files

FreeBSD/src 836a53b — cddl/contrib/opensolaris/cmd/dtrace dtrace.1

dtrace.1: Fix unusual Xr order

Approved by: ziaee
Differential Revision: https://reviews.freebsd.org/D61180
DeltaFile
+1-1cddl/contrib/opensolaris/cmd/dtrace/dtrace.1
+1-11 files

LLVM/project 7f8ca13 — libcxxabi/src private_typeinfo.h private_typeinfo.cpp

[libc++abi] Remove has_path_to_static_ptr from dynamic_cast

`path_dst_ptr_to_static_ptr` already contains whether we found a path to
static_ptr, so there is no need to track it explicitly.
DeltaFile
+7-13libcxxabi/src/private_typeinfo.cpp
+0-2libcxxabi/src/private_typeinfo.h
+7-152 files

LLVM/project 83554a4 — llvm/lib/Target/AMDGPU AMDGPUMemoryUtils.cpp

Adjust to removed std::optional in getSynchronizeAddrSpace's return type.
DeltaFile
+2-5llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+2-51 files

LLVM/project c936722 — llvm/lib/Target/AMDGPU AMDGPUMemoryUtils.cpp, llvm/test/CodeGen/AMDGPU noclobber-barrier.ll

[AMDGPU] Preserve noclobber after acquire operations from a different addrspace

Follow-up to #219991 to address reviewer comments:
AMDGPUAnnotateUniformValues should annotate uniform global loads as
`!amdgpu.noclobber` if the memory they are reading is never clobbered (since
kernel launch) before the load is executed.
PR #219991 strengthened the logic to consider acquire operations before the
load as clobbering (because they cause stores from other threads to be observed
by the load without a data race).

This PR weakens this criterion to ignore acquire operations that don't affect
the global address space (because they don't affect what the load in question
may or may not see). This addresses the performance-relevant case of s_barriers
with LDS-only fences.

The logic is still overly pessimistic for one-as load acquires, they could also
be ignored when looking for clobbering operations.

Disclaimer: Claude gave review comments and suggestions that I addressed during

    [5 lines not shown]
DeltaFile
+16-13llvm/test/CodeGen/AMDGPU/noclobber-barrier.ll
+12-2llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+28-152 files

LLVM/project e199460 — libcxxabi/src private_typeinfo.h private_typeinfo.cpp

[libc++abi] Make the dst_type uniqueness flag in dynamic_cast a bool
DeltaFile
+6-7libcxxabi/src/private_typeinfo.cpp
+2-2libcxxabi/src/private_typeinfo.h
+8-92 files

LLVM/project 704660a — llvm/lib/TargetParser Triple.cpp, llvm/unittests/TargetParser TripleTest.cpp

[clang] Fixes to `Triple::getDefaultLongDoubleFormat` for UEFI and mips64 (#241241)

Two more fixes to `Triple::getDefaultLongDoubleFormat`

1) Make UEFI match windows on the `aarch64` targets (see also
https://github.com/llvm/llvm-project/pull/241013)


https://github.com/llvm/llvm-project/blob/29b7c6b96708d623eab72d480e7fd6956ff03681/clang/lib/Basic/Targets/AArch64.cpp#L1903-L1916

2) Make an exception for mips64 freebsd, which uses IEEE double, not
IEEE quad, see


https://github.com/llvm/llvm-project/blob/29b7c6b96708d623eab72d480e7fd6956ff03681/clang/lib/Basic/Targets/Mips.h#L120-L129
DeltaFile
+10-4llvm/unittests/TargetParser/TripleTest.cpp
+4-1llvm/lib/TargetParser/Triple.cpp
+14-52 files

LLVM/project 6680e86 — llvm/lib/Target/AMDGPU AMDGPUMemoryUtils.h AMDGPUMemoryUtils.cpp, llvm/test/CodeGen/AMDGPU implicit-kernarg-backend-usage.ll memory-legalizer-invalid-addrspace.mir

[AMDGPU] Extract SIAtomicAddrSpace and fence MMRA parsing from SIMemoryLegalizer (#231854)

Determining which memory accesses are ordered by a fence is already
useful in the middle-end; this PR extracts the code to do that from
SIMemoryLegalizer, so that it can be used in middle-end transformations.

So far, unexpected suffix values for the `amdgpu-synchronize-as` were
reported when they were encountered in SIMemoryLegalizer. This PR keeps
that and doesn't report them in the middle end, since that would lead to
a lot of repeated diagnostics for them.

This patch also makes the extracted toSIAtomicAddrSpace logic consistent with
isExtendedGlobalAddrSpace. That means that constant addrspaces and addrspaces
above `MAX_AMDGPU_ADDRESS` now map to `SIAtomicAddrSpace::GLOBAL` instead of
`OTHER`. This means that atomics on these addrspaces are no longer rejected by
SIMemoryLegalizer.

It also changes the lowering for volatile loads from the constant addrspaces; so
far we haven't waited directly after each such volatile load, with this change

    [8 lines not shown]
DeltaFile
+7-89llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
+0-73llvm/test/CodeGen/AMDGPU/memory-legalizer-invalid-addrspace.mir
+69-0llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+44-0llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.h
+8-14llvm/test/CodeGen/AMDGPU/GlobalISel/load-uniform-in-vgpr.ll
+14-8llvm/test/CodeGen/AMDGPU/implicit-kernarg-backend-usage.ll
+142-1846 files not shown
+172-20612 files

LLVM/project 53808da — libcxxabi/src private_typeinfo.h private_typeinfo.cpp

[libc++abi] Return a result type inside dynamic_cast
DeltaFile
+110-99libcxxabi/src/private_typeinfo.cpp
+36-30libcxxabi/src/private_typeinfo.h
+146-1292 files

FreeBSD/ports 8c85f73 — security/gnutls Makefile distinfo

security/gnutls: Update to 3.8.14
DeltaFile
+7-1security/gnutls/pkg-plist
+3-3security/gnutls/distinfo
+1-1security/gnutls/Makefile
+11-53 files

NetBSD/src EabfqZN — external/gpl3/binutils/dist/gas/config tc-vax.c

   gas: vax: Cherry-pick upstream commit 2722595890a

   PR port-vax/59326
   ---
   Author: Jan-Benedict Glaw <jbglaw at getslash.de>
   Date:   Sun Nov 15 18:36:27 2026 +0100

   VAX: In PIC code, use GOT for function pointers

   Use GOT references for function pointers in PIC code. Actual fix by
   Rin Okuyama, initially reported for NetBSD in https://gnats.netbsd.org/59326 .

   PR gas/32941

   gas/
           * config/tc-vax.c (md_estimate_size_before_relax): Use GOT instead of PLT.
           * testsuite/gas/vax/elf-got-func.s,
           * testsuite/gas/vax/elf-got-func.d: New test.
           * testsuite/gas/vax/vax.exp: Run it.
VersionDeltaFile
1.25+8-3external/gpl3/binutils/dist/gas/config/tc-vax.c
+8-31 files

NetBSD/src fO2j1a9 — external/gpl3/binutils/dist/gas/config tc-vax.c

   gas: vax: Revert 1.22 in preparation to cherry-pick upstream fix

   Will be NFC (comment-only changes) in the end.

   PR port-vax/59326
VersionDeltaFile
1.24+1-4external/gpl3/binutils/dist/gas/config/tc-vax.c
+1-41 files

LLVM/project 16ee29d — orc-rt/include/orc-rt-c/bedrock/host/posix dlfcn-host.h, orc-rt/lib/bedrock/host/posix dlfcn-host.cpp

[orc-rt] Add dlfcn-host APIs. (#244110)

Adds API calls that forward to the host's native dlfcn.h APIs:

 * orc_rt_dlopen_host -> dlopen
 * orc_rt_dlclose_host -> dlclose
 * orc_rt_dlsym_host -> dlsym
 * orc_rt_dladdr_host -> dladdr
 * orc_rt_dlerror_host -> dlerror

These give JIT'd code a way to reach host libraries directly, bypassing
the ORC runtime, e.g. when the usual dlfcn.h names have been aliased to
the upcoming dlfcn-jit.h APIs.

The APIs are covered by unit tests, and by a regression test that checks
that JIT'd code can call them. To support the regression test, this
commit also adds:

* An orc-rt-c/ regression test directory, for tests that JIT'd code can

    [5 lines not shown]
DeltaFile
+84-0orc-rt/test/unit/bedrock/host/posix/DlfcnHostTest.cpp
+54-0orc-rt/test/regression/orc-rt-c/bedrock/host/posix/dlfcn-host.c
+47-0orc-rt/include/orc-rt-c/bedrock/host/posix/dlfcn-host.h
+33-0orc-rt/lib/bedrock/host/posix/dlfcn-host.cpp
+18-0orc-rt/test/regression/lit.cfg.py
+15-1orc-rt/test/regression/README.md
+251-17 files not shown
+287-113 files

LLVM/project ad6aa35 — mlir/lib/Dialect/Arith/Transforms ExpandOps.cpp, mlir/test/Dialect/Arith expand-ops.mlir

[mlir][arith] Keep only nnan on the widening in the f8E8M0FNU truncf (#243379)

The f8E8M0FNU truncf expansion extends an f16, bf16 or tf32 source to
f32 and copies the truncf's fastmath flags onto that extf. With
contract, ExtFOp::fold cancels the extf against a contract truncf that
produced the source, dropping that truncf's rounding (f32 2 - 2^-11 via
f16 gives 1.0, not 2.0). Keep only nnan on the extf.

Assisted-by: Claude

---------

Co-authored-by: Matthias Springer <me at m-sp.org>
DeltaFile
+29-0mlir/test/Dialect/Arith/expand-ops.mlir
+13-1mlir/lib/Dialect/Arith/Transforms/ExpandOps.cpp
+42-12 files

OpenBSD/ports soDHFL4 — www/webkitgtk4 Makefile distinfo, www/webkitgtk4/patches patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStore_cpp patch-Source_WTF_wtf_PlatformJSCOnly_cmake

   Maintenance update to webkitgtk{41,60}-2.54.3.
VersionDeltaFile
1.150.2.3+2-2www/webkitgtk4/distinfo
1.3.2.3+1-1www/webkitgtk4/patches/patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStore_cpp
1.2.2.1+1-1www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformJSCOnly_cmake
1.21.2.1+1-1www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler_h
1.267.2.3+1-1www/webkitgtk4/Makefile
+6-65 files

OpenBSD/ports QzDvx91 — www/webkitgtk4 Makefile distinfo, www/webkitgtk4/patches patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStore_cpp patch-Source_WTF_wtf_PlatformJSCOnly_cmake

   Maintenance update to webkitgtk{41,60}-2.54.3.
VersionDeltaFile
1.153+2-2www/webkitgtk4/distinfo
1.6+1-1www/webkitgtk4/patches/patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStore_cpp
1.3+1-1www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformJSCOnly_cmake
1.22+1-1www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler_h
1.270+1-1www/webkitgtk4/Makefile
+6-65 files