HardenedBSD/src 91b283d — sys/dev/iwm if_iwm_pcie_trans.h if_iwm_pcie_trans.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+101-19sys/dev/iwm/if_iwm_phy_ctxt.c
+87-21sys/dev/iwm/if_iwm.c
+22-6sys/dev/iwm/if_iwm_sta.c
+18-0sys/dev/iwm/if_iwm_util.h
+7-6sys/dev/iwm/if_iwm_pcie_trans.c
+3-3sys/dev/iwm/if_iwm_pcie_trans.h
+238-554 files not shown
+248-5810 files

HardenedBSD/src 606ecfe — sys/fs/nfsserver nfs_nfsdsocket.c

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+7-0sys/fs/nfsserver/nfs_nfsdsocket.c
+7-01 files

HardenedBSD/src db34b21 — sys/dev/iwm if_iwm_pcie_trans.h if_iwm_pcie_trans.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+101-19sys/dev/iwm/if_iwm_phy_ctxt.c
+87-21sys/dev/iwm/if_iwm.c
+22-6sys/dev/iwm/if_iwm_sta.c
+18-0sys/dev/iwm/if_iwm_util.h
+7-6sys/dev/iwm/if_iwm_pcie_trans.c
+3-3sys/dev/iwm/if_iwm_pcie_trans.h
+238-554 files not shown
+248-5810 files

HardenedBSD/src 5b15afe — sys/fs/nfsserver nfs_nfsdsocket.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+7-0sys/fs/nfsserver/nfs_nfsdsocket.c
+7-01 files

HardenedBSD/ports 7de14d4 — audio/maolan Makefile Makefile.crates, audio/maolan/files patch-cargo-crates_i24-2.3.5_src_repr.rs

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+653-483audio/maolan/distinfo
+325-240audio/maolan/Makefile.crates
+125-8security/vuxml/vuln/2026.xml
+17-17misc/ollama/distinfo
+0-29audio/maolan/files/patch-cargo-crates_i24-2.3.5_src_repr.rs
+11-11audio/maolan/Makefile
+1,131-78812 files not shown
+1,182-82818 files

LLVM/project e299485 — llvm/lib/Target/AMDGPU SIShrinkInstructions.cpp

Move SCC dead check to the beginning of 'if' block
DeltaFile
+3-6llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
+3-61 files

LLVM/project 4973c6a — llvm/lib/Target/AMDGPU SIShrinkInstructions.cpp, llvm/test/CodeGen/AMDGPU s_or_b32_transformation.ll shrink-disjoint-or-scc.mir

Address review feedback:
1. Use allImplicitDefsAreDead() helper to check whether SCC is dead
2. Simplify .ll test case
3. Add a new .mir test case
DeltaFile
+35-0llvm/test/CodeGen/AMDGPU/shrink-disjoint-or-scc.mir
+6-8llvm/test/CodeGen/AMDGPU/s_or_b32_transformation.ll
+1-2llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
+42-103 files

LLVM/project 0244d26 — llvm/test/CodeGen/AMDGPU shrink-disjoint-or-scc.mir shrink-insts-scalar-bit-ops.mir

Merge the cases to an existing test file
DeltaFile
+0-35llvm/test/CodeGen/AMDGPU/shrink-disjoint-or-scc.mir
+35-0llvm/test/CodeGen/AMDGPU/shrink-insts-scalar-bit-ops.mir
+35-352 files

LLVM/project fd0841d — llvm/lib/Target/AMDGPU SIShrinkInstructions.cpp, llvm/test/CodeGen/AMDGPU s_or_b32_transformation.ll

[AMDGPU] Preserve live SCC when shrinking disjoint S_OR_B32
DeltaFile
+6-0llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
+2-1llvm/test/CodeGen/AMDGPU/s_or_b32_transformation.ll
+8-12 files

LLVM/project d5f4461 — llvm/test/CodeGen/AMDGPU s_or_b32_transformation.ll

Precommit test case for s_or incorrectly transformed to s_addk when SCC is live
DeltaFile
+28-0llvm/test/CodeGen/AMDGPU/s_or_b32_transformation.ll
+28-01 files

LLVM/project 446ce70 — mlir/cmake/modules MLIRDetectPythonEnv.cmake, mlir/examples/standalone pyproject.toml

[MLIR][Python] Drop Python 3.10 and enable Python 3.15

Python 3.10 is EOL, so raise MLIR_MINIMUM_PYTHON_VERSION to 3.11.

For Python 3.15:
- Require nanobind >= 2.13. Earlier versions' darwin-ld-cpython.sym lacks
  PyFrozenDict_Type (new in 3.15), so linking the bindings against 3.15
  fails on macOS with an undefined symbol.
- Raise the numpy cap to 2.5.4; numpy <= 2.4 has no cp315 wheels.
DeltaFile
+3-3mlir/examples/standalone/pyproject.toml
+2-2mlir/python/requirements.txt
+2-2mlir/cmake/modules/MLIRDetectPythonEnv.cmake
+7-73 files

LLVM/project 1ee8805 — flang/lib/Optimizer/OpenMP LowerWorkdistribute.cpp, flang/test/Transforms/OpenMP lower-workdistribute-runtime-assign-array-alloc.mlir lower-workdistribute-runtime-assign-array-overlap.mlir

[flang][OpenMP] Lower array-section workdistribute assign to element loop (#225595)

Summary:

- At -O0 an array-section assignment inside `omp target teams
workdistribute` (e.g. residuum(0,:,:) = residuum(n,:,:)) stays as a
`_FortranAAssign`/`_FortranAAssignSimple` runtime call, since HLFIR only
inlines it to explicit loops at -O1+.
- Identify and lower `array-to-array` assigns to two unordered loops
through a heap temporary (src -> tmp -> dest), using `fir.array_coor` so
strides are honored. This handles overlapping sections.
- Runtime-call lowering now runs before fission and emits at the call
site, so each loop gets its own kernel.
- Rename the scalar broadcast helper to
`replaceScalarToArrayAssignWithUnorderedDoLoop`.
- Tests: Strided array assign and overlapping same-array assign tests
are added.

Assisted by: cladue opus 4.8
DeltaFile
+167-60flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
+91-0flang/test/Transforms/OpenMP/lower-workdistribute-runtime-assign-array.mlir
+72-0flang/test/Transforms/OpenMP/lower-workdistribute-runtime-assign-array-overlap.mlir
+59-0flang/test/Transforms/OpenMP/lower-workdistribute-runtime-assign-array-alloc.mlir
+389-604 files

LLVM/project 096ebfa — flang/lib/Optimizer/OpenMP LowerWorkdistribute.cpp, flang/test/Transforms/OpenMP lower-workdistribute-target-map-members.mlir

[flang][OpenMP] Fix dangling map.info members in workdistribute target split (#225440)

**Summary**:
- Flang `lower-workdistribute` pass splits an `omp.target` that contains
a `workdistribute` into an `omp.target_data { omp.target }` nest,
cloning every `omp.map.info` for the inner target.
- A Fortran allocatable/pointer is mapped as two linked maps: a
descriptor map whose `members` operand points at its data map.
- The old clone copied `members` verbatim, so the inner descriptor clone
still referenced the outer/original data map instead of its inner
sibling.
- **Fix**: Clone with an `IRMapping` so `members` operands are
retargeted to the inner clones, and clone in dependency order.
- Add a regression test exercising an allocatable descriptor/data member
pair.

Assisted by: claude opus 4.8
DeltaFile
+52-24flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
+47-0flang/test/Transforms/OpenMP/lower-workdistribute-target-map-members.mlir
+99-242 files

LLVM/project 88b2053 — llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv vxrm-insert-out-of-loop.ll vaaddu-sdnode.ll

[RISCV] Add subtarget feature to disable use of vector avgceil/floor nodes. (#231609)

The cost of the vxrm write makes using these instruction not profitable
on 525.x264_r on current SiFive OoO cores.
DeltaFile
+278-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vaaddu.ll
+278-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vaadd.ll
+225-0llvm/test/CodeGen/RISCV/rvv/vaaddu-sdnode.ll
+225-0llvm/test/CodeGen/RISCV/rvv/vaadd-sdnode.ll
+0-134llvm/test/CodeGen/RISCV/rvv/vxrm-insert-out-of-loop.ll
+13-8llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+1,019-1423 files not shown
+1,032-1469 files

LLVM/project 15fe652 — llvm/test/CodeGen/AMDGPU schedule-regpressure-ilp-metric-spills.mir high-RP-reschedule.mir

Addressed reviewer feedback about tests.

high-RP-reschedule.mir: Added new positive CHECK lines.
schedule-regpressure-ilp-metric-spills.mir: Removed unnecessary comment.
DeltaFile
+14-5llvm/test/CodeGen/AMDGPU/high-RP-reschedule.mir
+0-2llvm/test/CodeGen/AMDGPU/schedule-regpressure-ilp-metric-spills.mir
+14-72 files

OpenBSD/ports 5qh93uz — graphics/nomacs Makefile

   nomacs does not build on big endian archs

   From Brad
VersionDeltaFile
1.45+2-0graphics/nomacs/Makefile
+2-01 files

FreeBSD/src f84cdc2 — sys/netpfil/pf if_pfsync.c

pfsync: use result of m_pullup()
DeltaFile
+2-2sys/netpfil/pf/if_pfsync.c
+2-21 files

HardenedBSD/src f84cdc2 — sys/netpfil/pf if_pfsync.c

pfsync: use result of m_pullup()
DeltaFile
+2-2sys/netpfil/pf/if_pfsync.c
+2-21 files

LLVM/project b49d43c — clang/docs ReleaseNotes.md, clang/lib/AST ExprConstant.cpp

[Clang] Avoid assertions for unevaluatable object size kinds (#231793)

Constant-evaluated calls to __builtin_object_size and
__builtin_dynamic_object_size may have a second argument that cannot be
evaluated. The legacy evaluator incorrectly assumed it was a known
constant integer, which could trigger an assertion.

Evaluate the argument through the current evaluator and propagate
evaluation failures instead of calling EvaluateKnownConstInt.

Add regression coverage for division by zero, function calls, runtime
parameters, volatile reads, and null pointer dereferences. The tests
cover both object-size builtins and both constant evaluators.

AI assistance was used to generate additional regression test cases,
which I reviewed and adapted.

Fixes https://github.com/llvm/llvm-project/issues/231108


    [2 lines not shown]
DeltaFile
+16-0clang/test/Sema/builtin-object-size.c
+3-1clang/lib/AST/ExprConstant.cpp
+3-0clang/docs/ReleaseNotes.md
+22-13 files

LLVM/project c68a651 — llvm/lib/Target/AMDGPU AMDGPUSwLowerLDS.cpp, llvm/test/CodeGen/AMDGPU amdgpu-sw-lower-lds-flat-arg-kernel-id.ll

update
DeltaFile
+4-2llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp
+3-1llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-flat-arg-kernel-id.ll
+7-32 files

LLVM/project ba3544d — llvm/lib/Target/AMDGPU AMDGPUSwLowerLDS.cpp

update
DeltaFile
+2-2llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp
+2-21 files

LLVM/project 9337155 — llvm/lib/Target/AMDGPU AMDGPUSwLowerLDS.cpp, llvm/test/CodeGen/AMDGPU amdgpu-sw-lower-lds-flat-arg-kernel-id.ll

[AMDGPU][SwLowerLDS] Lower non-kernels with LDS instructions and assign kernel IDs to their callers
DeltaFile
+122-84llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp
+152-0llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-flat-arg-kernel-id.ll
+274-842 files

LLVM/project f9f400b — llvm/lib/Target/RISCV RISCVInstrInfoP.td RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rvp-avgsub.ll

[RISCV][P-ext] Use ISD::AVGSUBFLOOR(S/U) for (p)asub(u).

This replaces RISCVISD::ASUB(U) with ISD::AVGSUBFLOOR(S/U).

Co-Authored-By: Claude Sonnet 5.5 <noreply at anthropic.com>
DeltaFile
+469-0llvm/test/CodeGen/RISCV/rvp-avgsub.ll
+23-25llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+14-18llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+506-433 files

LLVM/project 9aab145 — llvm/lib/CodeGen TargetLoweringBase.cpp, llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp DAGCombiner.cpp

[SelectionDAG] Add AVGSUBFLOORS/AVGSUBFLOORU opcodes

These represent a halving subtract: trunc(shr(sub(ext(X), ext(Y)), 1)),
rounding towards negative infinity. They correspond to AArch64 shsub/uhsub
and RISC-V P extension asub/asubu.

Includes some legalization, known bits, constant folding, and
a DAGCombiner fold from (sr[al] (sub nsw/nuw x, y), 1).

The operation is not legal any target yet. That will be done in
follow ups.

Co-Authored-By: Claude Sonnet 5.5 <noreply at anthropic.com>
DeltaFile
+41-0llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+33-0llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp
+23-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+22-0llvm/unittests/ADT/APIntTest.cpp
+10-0llvm/lib/Support/APInt.cpp
+4-4llvm/lib/CodeGen/TargetLoweringBase.cpp
+133-48 files not shown
+162-614 files

LLVM/project d7b3e3b — llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp

fixup! stray change
DeltaFile
+1-0llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+1-01 files

LLVM/project 3431373 — llvm/lib/Target/AMDGPU AMDGPUSwLowerLDS.cpp, llvm/test/CodeGen/AMDGPU amdgpu-sw-lower-lds-flat-to-lds-cast-roundtrip.ll amdgpu-sw-lower-lds-flat-to-lds-cast.ll

[AMDGPU][SwLowerLDS] Rebase flat to LDS addrspacecasts to buffer offsets (#227985)

**Issue:**
In `amdgpu-sw-lower-lds` pass:
- LDS is moved/lowered into an `__asan_malloc_impl` buffer. AS3 pointers
hold offsets into it, and each LDS access is rewritten to `buf +
offset`.
- LDS to flat casts produce `buf + offset`. Casting that back to AS3
kept the full address, so the next access went out of bounds.

**Fix:**
- Collect flat to LDS casts and rewrite them as
`inttoptr(trunc(ptrtoaddr(flat) - ptrtoaddr(buf)))` to get the offset
back. The existing translation handles the users.
- Covers kernels and already-lowered non-kernels. 

**Note :** 
- Non-kernels that only take a flat pointer are handled in a follow-up
#228043.

Assisted by: claude opus 5.5
DeltaFile
+206-0llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-flat-to-lds-cast.ll
+89-0llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-flat-to-lds-cast-roundtrip.ll
+40-8llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp
+335-83 files

FreeBSD/ports d0326b7 — graphics/photivo Makefile, graphics/photivo/files patch-Sources_ptMain.cpp patch-CMakeLists.txt

graphics/photivo: the port had been slightly improved (+)

- Stretch out CMAKE_MINIMUM_REQUIRED() version range to
  accommodate for upcoming CMake 4.x and beyond
- Drop `dos2unix' from USES in favor of PATCH_ARGS+=-l
DeltaFile
+14-5graphics/photivo/files/patch-CMakeLists.txt
+9-9graphics/photivo/files/patch-Sources_ptMain.cpp
+3-3graphics/photivo/Makefile
+26-173 files

HardenedBSD/ports d0326b7 — graphics/photivo Makefile, graphics/photivo/files patch-Sources_ptMain.cpp patch-CMakeLists.txt

graphics/photivo: the port had been slightly improved (+)

- Stretch out CMAKE_MINIMUM_REQUIRED() version range to
  accommodate for upcoming CMake 4.x and beyond
- Drop `dos2unix' from USES in favor of PATCH_ARGS+=-l
DeltaFile
+14-5graphics/photivo/files/patch-CMakeLists.txt
+9-9graphics/photivo/files/patch-Sources_ptMain.cpp
+3-3graphics/photivo/Makefile
+26-173 files

OpenBSD/src 3frASkm — usr.bin/rpcinfo rpcinfo.c, usr.bin/rup rup.c

   use err macros.  unveil and pledge where possible.  the unveil
   includes "/etc" "r" for now, but that might not be needed.
VersionDeltaFile
1.21+18-34usr.bin/rpcinfo/rpcinfo.c
1.32+11-12usr.bin/rup/rup.c
1.14+8-1usr.bin/rwall/rwall.c
1.44+6-1usr.bin/rusers/rusers.c
+43-484 files

OpenBSD/src GaRmGQp — usr.sbin/smtpd ioev.c lka_filter.c

   use SOCK_NONBLOCK where suitable
VersionDeltaFile
1.365+5-9usr.sbin/smtpd/smtpd.c
1.133+4-6usr.sbin/smtpd/control.c
1.51+3-5usr.sbin/smtpd/mproc.c
1.83+3-4usr.sbin/smtpd/lka_filter.c
1.50+2-3usr.sbin/smtpd/ioev.c
+17-275 files