OPNSense/core 6394f0e — src/etc/rc.syshook.d/early 99-selftest, src/opnsense/scripts/firmware health.sh check.sh

firmware: support split sets and make reboot.sh behave line check.sh for reboot detection
DeltaFile
+17-9src/opnsense/scripts/firmware/reboot.sh
+7-7src/opnsense/scripts/firmware/check.sh
+6-7src/opnsense/scripts/firmware/health.sh
+4-4src/etc/rc.syshook.d/early/99-selftest
+34-274 files

LLVM/project d47eca9 — llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/rvv ashr.mir lshr.mir, llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/rvv lshr.mir ashr.mir

[RISCV][GISel] Support scalable vector G_SHL, G_LSHR and G_ASHR (#247078)

Scalable vector `shl`/`lshr`/`ashr` under `-global-isel` previously fell
back to SelectionDAG.

Part of https://github.com/llvm/llvm-project/issues/246831

CC: @topperc
DeltaFile
+752-0llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/rvv/ashr.mir
+752-0llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/rvv/lshr.mir
+752-0llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/rvv/shl.mir
+491-0llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/rvv/lshr.mir
+491-0llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/rvv/ashr.mir
+491-0llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/rvv/shl.mir
+3,729-07 files not shown
+5,167-713 files

LLVM/project 93954cd — llvm/include/llvm/Analysis LazyCallGraph.h, llvm/lib/Analysis LazyCallGraph.cpp

[CoroSplit] Quadratic memory use splitting Swift async functions (#243212)

When splitting a Swift async function, CoroSplit would proceed by making
a clone of the function for each suspension point, but leaving
unreachable code in each continuation clone that wasn't cleaned up until
SimplifyCFG.

This means that it transiently requires memory equal to a full copy of
the original function times the number of async calls in that function.

Instead, run the CoroSplit local cleanup function on each clone
immediately after generating it. This significantly reduces transient
memory usage.

TODO: Note that there's still a quadratic CPU cost inherent in this
approach. To avoid that, we would need to walk the original function and
only clone the blocks relevant for each split.

Resolves rdar://192111984
DeltaFile
+61-0llvm/unittests/Analysis/LazyCallGraphTest.cpp
+18-0llvm/lib/Transforms/Coroutines/CoroSplit.cpp
+13-2llvm/lib/Analysis/LazyCallGraph.cpp
+10-0llvm/test/Transforms/Coroutines/coro-async.ll
+2-2llvm/test/Transforms/Coroutines/coro-retcon-once-value.ll
+2-1llvm/include/llvm/Analysis/LazyCallGraph.h
+106-56 files

HardenedBSD/ports e46984e — print/harfbuzz Makefile pkg-plist

print/harfbuzz: Update to 15.2.0

PR:             300960
Exp-run by:     antoine
DeltaFile
+3-3print/harfbuzz/distinfo
+1-1print/harfbuzz/Makefile
+2-0print/harfbuzz/pkg-plist
+6-43 files

FreeBSD/ports e46984e — print/harfbuzz Makefile pkg-plist

print/harfbuzz: Update to 15.2.0

PR:             300960
Exp-run by:     antoine
DeltaFile
+3-3print/harfbuzz/distinfo
+1-1print/harfbuzz/Makefile
+2-0print/harfbuzz/pkg-plist
+6-43 files

LLVM/project 39eb50e — clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVMOffloadPrintfAMDGPU.cpp, clang/test/CIR/CodeGenHIP device-printf.hip

[CIR][AMDGPU] Avoid strlen loop for constant strings in hostcall printf (#244565)

Also stop treating weak or externally initialized globals as constant
strings in CIR, like LLVM, because the linker or host may change them
DeltaFile
+80-140clang/test/CodeGenHIP/printf.cpp
+108-2clang/test/CIR/Lowering/offload-printf-amdgpu.cir
+8-38clang/test/CodeGenHIP/printf-builtin.hip
+18-8clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMOffloadPrintfAMDGPU.cpp
+10-9clang/test/CIR/CodeGenHIP/device-printf.hip
+4-1llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
+228-1986 files

OpenBSD/ports rZzJLRS — wayland/mango Makefile distinfo

   wayland/mango: Update to 0.19.7
VersionDeltaFile
1.30+2-2wayland/mango/distinfo
1.31+1-1wayland/mango/Makefile
+3-32 files

LLVM/project b60e570 — clang/include/clang/Basic arm_sve.td, clang/test/CodeGen/AArch64/fp8-intrinsics acle_sve2_fp8_fmla.c

[Clang][AArch64] Fix immediate range for FP  Multiply-add by indexed … (#246426)

…instruction

This patch fix the lane limit from [0-7] to [0-15] accoring to the
specification for:
svmlallbb_lane[_f32_mf8], svmlallbt_lane[_f32_mf8],
svmlalltb_lane[_f32_mf8] and svmlalltt_lane[_f32_mf8].
DeltaFile
+12-12clang/test/CodeGen/AArch64/fp8-intrinsics/acle_sve2_fp8_fmla.c
+4-4clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_fp8.c
+4-4clang/include/clang/Basic/arm_sve.td
+20-203 files

LLVM/project 89b5d50 — llvm/include/llvm/CodeGen BasicTTIImpl.h, llvm/lib/Target/SPIRV SPIRVTargetTransformInfo.cpp

[TTI] Remove getPopcntSupport and use the ctpop cost instead (#246272)

getPopcntSupport() was only used by LoopIdiomRecognize and by the
table-based ctpop recognition in AggressiveInstCombine. Use cost
comparisons there instead:

- LoopIdiomRecognize replaces the loop if ctpop costs no more than one
  iteration of the loop, since the loop runs at least once.
- AggressiveInstCombine replaces the table lookup if ctpop costs no more
  than the GEP and load.

BasicTTIImpl gave an expanded scalar ctpop a flat TCC_Expensive, which
is
less than one iteration of the loop. Cost the expansion done by
TargetLowering::expandCTPOP instead, as is done for clmul.

LoopIdiomRecognize used to always ask about a 32-bit popcount, before
the
idiom was matched. It now uses the type of the loop value.

    [15 lines not shown]
DeltaFile
+251-0llvm/test/Transforms/LoopIdiom/Mips/popcnt.ll
+154-0llvm/test/Transforms/LoopIdiom/AArch64/popcnt.ll
+45-26llvm/test/Transforms/LoopIdiom/SPARC/popcnt.ll
+38-3llvm/include/llvm/CodeGen/BasicTTIImpl.h
+16-2llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
+17-0llvm/lib/Target/SPIRV/SPIRVTargetTransformInfo.cpp
+521-3127 files not shown
+547-18033 files

LLVM/project 5d734ac — llvm/include/llvm/IR DebugInfoMetadata.h

clang-format
DeltaFile
+7-7llvm/include/llvm/IR/DebugInfoMetadata.h
+7-71 files

LLVM/project 0f5f413 — llvm/lib/Bitcode/Reader MetadataLoader.cpp, llvm/lib/IR DebugInfoMetadata.cpp

[DebugInfo] Skip ODR uniquing on conflicting DICompositeType sizes (#245268)

When two modules define a C++ type with the same ODR identifier but
different DICompositeType sizes, ODR type uniquing in
DICompositeType::buildODRType and getODRType collapses both modules onto
whichever size is materialized first. If a smaller-sized module is
loaded before a larger-sized module (e.g., during ThinLTO importing or
Full LTO linking), DW_OP_LLVM_fragment expressions from the larger
module can exceed the uniqued type's size and abort compilation in the
IR verifier ("fragment is larger than or outside of variable" or
"fragment covers entire variable"), either stripping debug info during
auto-upgrade or aborting compilation when auto-upgrade is disabled.

Reject ODR uniquing (returning nullptr, matching existing mismatched-tag
handling from D111770) when both the existing and incoming
DICompositeType
have conflicting non-zero sizes, so callers fall back to creating a
separate
DICompositeType node for the conflicting module. Null and zero sizes are

    [9 lines not shown]
DeltaFile
+161-0llvm/test/ThinLTO/X86/debuginfo-odr-size-mismatch.ll
+125-0llvm/unittests/IR/DebugTypeODRUniquingTest.cpp
+16-10llvm/lib/Bitcode/Reader/MetadataLoader.cpp
+19-2llvm/lib/IR/DebugInfoMetadata.cpp
+321-124 files

OpenBSD/ports Za2SSWY — net/lagrange Makefile distinfo

   net/lagrange: Update to 2.0.4
VersionDeltaFile
1.75+2-2net/lagrange/distinfo
1.90+1-1net/lagrange/Makefile
+3-32 files

LLVM/project c8b7e58 — clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp CIRCanonicalize.cpp, clang/lib/CIR/Interfaces ASTAttrInterfaces.cpp

[clang] Remove unused includes (NFC) (#247087)

This patch removes unused #include directives across .cpp files under
clang/lib/.  Identified by clang-include-cleaner and verified locally.

Assisted-by: Antigravity
DeltaFile
+0-8clang/lib/CIR/Dialect/Transforms/LibOpt.cpp
+0-4clang/lib/CIR/Dialect/Transforms/HoistAllocas.cpp
+0-3clang/lib/CIR/Interfaces/ASTAttrInterfaces.cpp
+0-3clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+0-3clang/lib/CIR/Dialect/Transforms/CIRCanonicalize.cpp
+0-2clang/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp
+0-2342 files not shown
+1-7448 files

LLVM/project 4103f16 — libc/test/src/__support/HashTable CMakeLists.txt

[libc][test] Gate HashTable tests without linking hsearch (#247015)

Commit 6fd1c1b8ef40 (#74371) added `libc.src.search.hsearch` to the
`DEPENDS` list of `bitmask_test`, `table_test`, and `group_test` solely
so those tests are skipped on targets where `hsearch` is not enabled.
Listing the entrypoint in `DEPENDS` also links `hsearch.cpp` and its
global table state into unit tests that never call `hsearch`.

Check `TARGET_LLVMLIBC_ENTRYPOINTS` at the top of
`libc/test/src/__support/HashTable/CMakeLists.txt` instead, drop
`libc.src.search.hsearch` from all three `DEPENDS` lists, and list the
direct `libc.hdr.types.ENTRY` dependency on `table_test`.

Assisted-by: Gemini
DeltaFile
+5-3libc/test/src/__support/HashTable/CMakeLists.txt
+5-31 files

FreeBSD/ports 2763f29 — mail/tidemail Makefile distinfo

mail/tidemail: Update to 1.10.3
DeltaFile
+5-5mail/tidemail/distinfo
+1-1mail/tidemail/Makefile
+6-62 files

HardenedBSD/ports 2763f29 — mail/tidemail Makefile distinfo

mail/tidemail: Update to 1.10.3
DeltaFile
+5-5mail/tidemail/distinfo
+1-1mail/tidemail/Makefile
+6-62 files

LLVM/project 21c5ee5 — clang/lib/Sema SemaSYCL.cpp, clang/test/SemaSYCL sycl-kernel-entry-point-attr-incomplete-param.cpp

[clang][SYCL] Fix crash on `sycl_kernel_entry_point` with incomplete parameter type (#243185)

Clang crashed when a `sycl_kernel_entry_point` function had a parameter
of incomplete type, or a reference to an incomplete type. For a value
parameter, Sema diagnosed the incomplete type but still went on to build
the `SYCLKernelCallStmt`. `KernelParamsChecker` then crashed while
traversing the incomplete record. A reference to an incomplete type is
valid C++, so it wasn't diagnosed at all. But the generated kernel takes
the parameter by value, so incomplete type and crashed.
`KernelParamsChecker::checkParameter` now returns early, marking the
check as failed, for parameters that are already invalid.

It does the same for references to incomplete types, which are diagnosed
with `err_typecheck_decl_incomplete_type`.
`SemaSYCL::BuildSYCLKernelCallStmt` then returns an error instead of
continuing. Reference parameters reuse the existing `variable has
incomplete type` diagnostic.

Fixes https://github.com/llvm/llvm-project/issues/235558
DeltaFile
+41-0clang/test/SemaSYCL/sycl-kernel-entry-point-attr-incomplete-param.cpp
+12-2clang/lib/Sema/SemaSYCL.cpp
+53-22 files

LLVM/project a510385 — llvm/lib/Target/AMDGPU AMDGPUMCResourceInfo.cpp, llvm/test/CodeGen/AMDGPU resource-usage-named-barrier-cycle.ll resource-usage-cycle-shared-outgoing.mir

[AMDGPU] Preserve resource requirements through call-graph cycles (#221625)

When a function closes a cycle in the call graph, the cycle's register
counts are flattened to a constant (#142766), which drops callees whose
symbols are not defined yet, and the flags drop the cyclic callee
entirely. A kernel can then get too few VGPRs and no dynamic stack for
a function it reaches through the cycle.

Flatten the function's whole max() or or() expression instead: fold the
constants, skip the function's own symbol and keep the symbols that are
not defined yet. Named barrier counts in a cycle are flattened the same
way instead of using the module maximum.

The private segment size also drops the cyclic callee, so set
has_recursion in that case to request a dynamic stack on code object V5
and later. Since that sets has_recursion for more kernels, restore the
V5 check on the dynamic stack bit (D134714), which #94788 dropped, so V4
object files no longer set that reserved bit.
DeltaFile
+98-98llvm/lib/Target/AMDGPU/AMDGPUMCResourceInfo.cpp
+112-0llvm/test/CodeGen/AMDGPU/resource-usage-norecurse-cycle.ll
+109-0llvm/test/CodeGen/AMDGPU/resource-usage-direct-call-cycle.mir
+83-0llvm/test/CodeGen/AMDGPU/resource-usage-direct-call-cycle.ll
+51-0llvm/test/CodeGen/AMDGPU/resource-usage-cycle-shared-outgoing.mir
+47-0llvm/test/CodeGen/AMDGPU/resource-usage-named-barrier-cycle.ll
+500-984 files not shown
+530-12210 files

LLVM/project 1135ccc — clang/lib/CIR/Dialect/Transforms/TargetLowering CIRABIRewriteContext.cpp, clang/test/CIR/CodeGen call-conv-lowering-amdgpu-bitfield.c

[CIR] Flatten structs with bitfields in CallConvLowering (#245599)

On AMDGPU, struct over 64 bits is passed as one argument per field

CIR split the struct by its CIR members, but bitfield member is not a
plain value type, so reading it failed with "member type mismatch"

Pass the integer that stores the bitfields instead, and skip zero-width
bitfields, which take no space

This matches the arguments that classic codegen passes
DeltaFile
+82-0clang/test/CIR/CodeGen/call-conv-lowering-amdgpu-bitfield.c
+18-2clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
+100-22 files

LLVM/project 3274c45 — mlir/lib/Conversion/SPIRVToLLVM SPIRVToLLVM.cpp, mlir/test/Conversion/SPIRVToLLVM cl-ops-to-llvm.mlir

[mlir][SPIR-V] Add SPIRVToLLVM conversion for CL saturating add and sub (#245501)

Depends on #245500
DeltaFile
+17-0mlir/test/Conversion/SPIRVToLLVM/cl-ops-to-llvm.mlir
+5-1mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
+22-12 files

FreeBSD/ports 8fd3eb9 — www/mod_jk Makefile distinfo

www/mod_jk: Update to 1.2.50

Release notes:  https://tomcat.apache.org/connectors-doc/miscellaneous/changelog.html
DeltaFile
+3-3www/mod_jk/distinfo
+1-1www/mod_jk/Makefile
+4-42 files

HardenedBSD/ports 8fd3eb9 — www/mod_jk Makefile distinfo

www/mod_jk: Update to 1.2.50

Release notes:  https://tomcat.apache.org/connectors-doc/miscellaneous/changelog.html
DeltaFile
+3-3www/mod_jk/distinfo
+1-1www/mod_jk/Makefile
+4-42 files

NetBSD/pkgsrc-wip 0c5906a — dng_sdk buildlink3.mk Makefile, dng_sdk/patches patch-dng__sdk_source_dng__resample.cpp

add a dng_sdk package and libraw depending on it, for tests

dng_sdk should use a different upstream, this one is not interested
in the library
DeltaFile
+599-0libraw/log
+89-0dng_sdk/PLIST
+28-0libraw/Makefile
+28-0dng_sdk/Makefile
+19-0dng_sdk/patches/patch-dng__sdk_source_dng__resample.cpp
+17-0dng_sdk/buildlink3.mk
+780-08 files not shown
+851-014 files

LLVM/project 0295a5b — clang/lib/CodeGen CGHLSLRuntime.cpp, clang/test/CodeGenHLSL/semantics SV_ViewportArrayIndex.hlsl

[HLSL] Add support for SV_ViewportArrayIndex (#237031)

Resolves: https://github.com/llvm/llvm-project/issues/136974

Assisted by: Claude Opus 5.5
DeltaFile
+81-0llvm/test/CodeGen/SPIRV/semantics/viewport-index.ll
+62-15clang/lib/CodeGen/CGHLSLRuntime.cpp
+72-0clang/test/CodeGenHLSL/semantics/SV_ViewportArrayIndex.hlsl
+65-0llvm/test/CodeGen/DirectX/Metadata/semantic-signatures-viewport-array-index-errors.ll
+44-0llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
+41-0clang/test/SemaHLSL/Semantics/viewportarrayindex.vs-ps.hlsl
+365-1510 files not shown
+524-1816 files

LLVM/project d60f902 — llvm/lib/Transforms/IPO WholeProgramDevirt.cpp LowerTypeTests.cpp

[profcheck] Guard CFI-related profile fixes with the ablation flag (#246999)

The ablation study of `ProfcheckDisableMetadataFixes` did not have CFI
enabled, so it did not exercise the profile fixes in WholeProgramDevirt
and LowerTypeTests. Restore the check that #222393 removed around
computing the branch funnel entry count, and add one to the type test
branch weights from #170752, so that these can be ablated.
DeltaFile
+4-2llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+1-1llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
+5-32 files

LLVM/project 0c8c860 — llvm/lib/Target/RISCV RISCVFrameLowering.h RISCVFrameLowering.cpp, llvm/test/CodeGen/RISCV/rvv interrupt-attr-nocall.ll callee-saved-regs.ll

[RISCV] Fix RVV callee-saves in realigned frames

The prologue saves RVV callee-saved registers before it realigns SP
and sets up BP, but their slots were addressed from the realigned SP
or BP. The epilogue reloaded them from the wrong address, BP frames
stored them through the caller's s1, and their CFI was wrong.

Address these slots from FP, which does not move, and derive their
CFI from getFrameIndexReference so the two cannot diverge.

Fixes #244792
DeltaFile
+112-64llvm/test/CodeGen/RISCV/rvv/rvv-cfi-info.ll
+34-28llvm/test/CodeGen/RISCV/rvv/callee-saved-regs.ll
+23-12llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
+8-2llvm/test/CodeGen/RISCV/rvv/interrupt-attr-nocall.ll
+1-2llvm/lib/Target/RISCV/RISCVFrameLowering.h
+178-1085 files

LLVM/project 65c7c5d — llvm/test/CodeGen/RISCV/rvv interrupt-attr-nocall.ll callee-saved-regs.ll

[RISCV] Add tests for RVV CSRs in realigned frames

Precommit the tests for #244792 so that its fix shows up as a diff.
The checks record the current, wrong output: the prologue saves the
vector callee-saved registers before it realigns the stack, and the
epilogue reloads them from a different address.
DeltaFile
+382-0llvm/test/CodeGen/RISCV/rvv/rvv-cfi-info.ll
+139-0llvm/test/CodeGen/RISCV/rvv/callee-saved-regs.ll
+43-0llvm/test/CodeGen/RISCV/rvv/interrupt-attr-nocall.ll
+564-03 files

LLVM/project 990bee3 — llvm/test/CodeGen/AMDGPU ds-large-offsets.ll load-store-opt-ds-large-offsets.mir

[AMDGPU] Add tests for large static LDS offsets (NFC) (#245447)

Add tests for LDS accesses whose constant offsets from a common address
exceed the 16-bit DS offset field, as with more than 64 KiB of
statically allocated LDS on gfx950. The checks record the current
output, where each such access gets its own add. This is used to
simplify #242846

Assisted-by: Claude Code
DeltaFile
+448-0llvm/test/CodeGen/AMDGPU/load-store-opt-ds-large-offsets.mir
+216-0llvm/test/CodeGen/AMDGPU/ds-large-offsets.ll
+664-02 files

LLVM/project ad8d4fe — clang/test/CIR/CodeGen unary.cpp, clang/test/CIR/CodeGenBuiltins builtin-object-size.c

[CIR] Return the value stored to the return slot directly

Classic codegen returns the value stored to the return slot directly
when that store dominates the return, and then drops the slot
(findDominatingStoreToReturnValue in CGCall.cpp). CIR always lowered the
slot to alloca, store, load and ret, so most scalar-returning functions
differed from classic codegen.

Add a cir-forward-return-slot function pass. In a function with a single
cir.return of a load from the return slot, it returns the stored value
when the store is the slot's only other use and reaches the load through
a chain of single predecessors, or when it immediately precedes the
load. These are classic codegen's rules. The return keeps its own
location, which CIRGen already sets to the return statement's. The pass
runs before LLVM lowering, after FlattenCFG and ABI lowering, so
-emit-cir output does not change. Volatile, atomic, record, array and
complex slots are left alone.

The tests change only in their LLVM checks. In files where the LLVM and

    [3 lines not shown]
DeltaFile
+101-213clang/test/CIR/CodeGenBuiltins/X86/avx512bw-builtins.c
+37-253clang/test/CIR/CodeGenBuiltins/X86/avx512f-builtins.c
+254-0clang/test/CIR/Transforms/forward-return-slot.cir
+44-187clang/test/CIR/CodeGen/unary.cpp
+6-163clang/test/CIR/CodeGenBuiltins/builtin-object-size.c
+6-153clang/test/CIR/CodeGenBuiltins/X86/cmp-builtins.c
+448-96994 files not shown
+949-2,280100 files

LLVM/project 1ba52f0 — lldb/source/Target StackFrameList.cpp, lldb/test/API/functionalities/scripted_frame_provider/set_pc main.c frame_provider.py

Revert "[lldb] Compare the concrete frame index for inlining (#240963)" (#247232)

This reverts commits fbf8ea9f26be236d1f524fbda74154c0ed236eef (#247106) and 17b5443a3211f7956d700fc520b1540a78ed8688 (#240963).
DeltaFile
+0-201lldb/unittests/Target/Inputs/tail-call.yaml
+0-97lldb/unittests/Target/StackFrameListTest.cpp
+0-47lldb/test/API/functionalities/scripted_frame_provider/set_pc/TestFrameProviderSetPC.py
+0-21lldb/test/API/functionalities/scripted_frame_provider/set_pc/frame_provider.py
+0-14lldb/test/API/functionalities/scripted_frame_provider/set_pc/main.c
+2-7lldb/source/Target/StackFrameList.cpp
+2-3874 files not shown
+5-40210 files