OPNSense/core 35b9518 — src/etc/inc interfaces.inc

interfaces: add prefix to ifctl for blackhole route in 6rd and 6to4

PR: https://forum.opnsense.org/index.php?topic=53359.0
DeltaFile
+6-0src/etc/inc/interfaces.inc
+6-01 files

LLVM/project ce6bab0 — llvm/lib/Target/AArch64 AArch64Combine.td, llvm/lib/Target/AArch64/GISel AArch64PostLegalizerCombiner.cpp

[AArch64][GlobalISel] Turn ANDs that clear a single lane into an insert of zero (#240841)

A vector G_AND whose constant mask keeps every lane except one is an
insert of zero into that lane, which selects to a single `mov v.<T>[i],
wzr` (or `xzr` for 64-bit lanes). This handles all vector sizes, and
skips ANDs feeding a G_OR, which are better matched as a bitwise select.
The constant mask is expected on the RHS, where constants are
canonicalized.

| mask | before | after (same as SelectionDAG) |
|---|---|---|
| `<2 x i32>` clear lane 1 | `movi` + `and` | `mov v0.s[1], wzr` |
| `<4 x i32>` clear lane 2 | `adrp` + `ldr` + `and` | `mov v0.s[2], wzr`
|
| `<2 x i64>` clear lane 1 | `adrp` + `ldr` + `and` | `mov v0.d[1], xzr`
|
| `<8 x i16>` clear lane 3 | `adrp` + `ldr` + `and` | `mov v0.h[3], wzr`
|
| `<16 x i8>` clear lane 5 | `adrp` + `ldr` + `and` | `mov v0.b[5], wzr`

    [7 lines not shown]
DeltaFile
+169-0llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-and-clear-one-lane.mir
+64-0llvm/test/CodeGen/AArch64/and-clear-one-lane.ll
+49-0llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
+6-9llvm/test/CodeGen/AArch64/GlobalISel/postlegalizercombiner-mul-identity.mir
+8-6llvm/test/CodeGen/AArch64/GlobalISel/combine-mul-one-zero-vector.ll
+11-1llvm/lib/Target/AArch64/AArch64Combine.td
+307-166 files

LLVM/project 8cf582e — mlir/docs ReleaseNotes.md, mlir/include/mlir/Dialect/LLVMIR LLVMOpBase.td LLVMIntrinsicOps.td

[mlir][LLVM] Add an inherent strictfp attribute to intrinsic ops

The strictfp call-site attribute tells LLVM that a call sits in a scope with
strict floating-point semantics. The llvm.intr.* operations could not carry
it.

They now have an optional `strictfp` unit attribute. The feature class
LLVM_IntrStrictfp adds it, and LLVM_IntrOp inherits the class. The export
sets the attribute on the call and the import reads it back. Both are code
of the feature class, so the hand-written builders splice it like the code
of the other features and the translation needs no special case.

The constrained and the debug intrinsics derive from the new
LLVM_IntrOpNoStrictfp and do not have the attribute. A constrained call is
always strictfp, and a debug intrinsic is no call.

Assembly formats without prop-dict print the attribute as the keyword
`strictfp`. 112 of the operations had no attribute before. They now have
properties, which deprecates their builders that take the operands as one

    [3 lines not shown]
DeltaFile
+167-103mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
+75-0mlir/test/mlir-tblgen/llvm-intrinsic-op-base.td
+46-3mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
+47-0mlir/test/Target/LLVMIR/intrinsic-strictfp.mlir
+46-0mlir/test/Target/LLVMIR/Import/intrinsic-strictfp.ll
+38-0mlir/docs/ReleaseNotes.md
+419-1064 files not shown
+461-11810 files

FreeBSD/ports 8bde09b — graphics/blender-doc Makefile distinfo

graphics/blender-doc: Update 5.1 => 5.2

Online manual:
https://docs.blender.org/manual/en/5.2/

Sponsored by:   UNIS Labs
DeltaFile
+5-5graphics/blender-doc/distinfo
+1-1graphics/blender-doc/Makefile
+6-62 files

LLVM/project ca67473 — llvm/test/CodeGen/AMDGPU waitcnt-vavdst-wmma-f64.mir waitcnt-vavdst-pipes.mir

[AMDGPU] Pre-commit gfx125x VALU completion pipe tests

Record current expert-scheduling waits before updating the gfx125x VALU completion pipe classifications.

Assisted-by: Claude Fable 5.2, Claude Opus 5.5, Codex
DeltaFile
+359-0llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-pipe-classes.mir
+43-0llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-pipes.mir
+23-0llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-wmma-f64.mir
+425-03 files

LLVM/project 13457df — llvm/lib/Target/AMDGPU AMDGPUHWEvents.cpp VOP3PInstructions.td, llvm/test/CodeGen/AMDGPU waitcnt-vavdst-pipe-classes.mir

[AMDGPU] Classify gfx125x VALU completion pipes for expert scheduling

VA_VDST decrements in issue order only among VALU instructions that
complete on the same pipe. The expert scheduling classification did not
match the MI400 documentation in several places:

- 64-bit transcendentals complete with the DP-MACC, not with the 16-bit
  and 32-bit transcendentals.
- More instructions complete on the DP-MACC: conversions to f64,
  v_fmac/fmaak/fmamk_f64, 64-bit min/max, v_mul_u64, packed f64 and
  v_wmma_f64_16x16x4_f64.
- 32-bit multiplies, 64-bit shifts, adds, moves and 64-bit compares
  complete on the side MACC on gfx1250 and on the DP-MACC on gfx1251.
  Add a subtarget feature for the former. gfx12-5-generic has to be
  valid for both, so it gets no order for them. 64-bit integer V_CMPX
  uses the side MACC on both.
- DOT4 and DOT8 use the side MACC, not the XDL pipe.

Add an unordered class for instructions without a usable order. A

    [9 lines not shown]
DeltaFile
+162-58llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-pipe-classes.mir
+32-1llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+29-0llvm/lib/Target/AMDGPU/VOPInstructions.td
+16-11llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+17-10llvm/lib/Target/AMDGPU/VOP3Instructions.td
+14-12llvm/lib/Target/AMDGPU/AMDGPUHWEvents.cpp
+270-9212 files not shown
+345-12318 files

LLVM/project 15847ed — llvm/utils/lit/lit TestingConfig.py

synthetic-praddle-commit
DeltaFile
+13-3llvm/utils/lit/lit/TestingConfig.py
+13-31 files

LLVM/project bde4027 — llvm/test/CodeGen/PowerPC xray-conditional-return.mir xray-conditional-return.ll

[PowerPC][XRay][test] Add CR-bit and CTR conditional return tests (#247294)

The if-converter predicates a return on a single CR bit (BCLR/BCLRn)
or on CTR (BDZLR8/BDNZLR8). PATCHABLE_RET emits these as bare bclr,
bdzlr and bdnzlr, so the function exit is not instrumented, and
getInstSizeInBytes reports a full sled for them, which the object
emitter's size check rejects on assertions builds.

Assisted-by: Claude Code
DeltaFile
+72-0llvm/test/CodeGen/PowerPC/xray-conditional-return.ll
+36-0llvm/test/CodeGen/PowerPC/xray-conditional-return.mir
+108-02 files

LLVM/project 2158560 — llvm/test/tools/llvm-mca/X86/Generic resources-aes-widekl.s resources-aes-kl.s

[llvm-mca][X86] Add Key Locker (KL/WideKL) resource tests (#246849)

Add llvm-mca resource tests for the Key Locker (KL) and Wide Key Locker
(WideKL) instructions.

Fixes #246666

AI assistance was used to help draft the test inputs and to run the
build and test commands. The CHECK lines were generated with
`update_mca_test_checks.py`, and I reviewed the inputs and the output.
DeltaFile
+57-0llvm/test/tools/llvm-mca/X86/Generic/resources-aes-kl.s
+45-0llvm/test/tools/llvm-mca/X86/Generic/resources-aes-widekl.s
+102-02 files

LLVM/project db3f150 — llvm/lib/CodeGen/AsmPrinter CodeViewDebug.h CodeViewDebug.cpp, llvm/test/DebugInfo/COFF using-namespace.ll

[CodeView] Emit S_UNAMESPACE for every namespace like MSVC
DeltaFile
+83-22llvm/test/DebugInfo/COFF/using-namespace.ll
+30-21llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+3-1llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
+116-443 files

LLVM/project 7b7d6d5 — llvm/lib/Transforms/InstCombine InstCombinePHI.cpp, llvm/test/Transforms/InstCombine phi.ll

[InstCombine] Fix phi slicing for inputs defined by a terminator (#248106)

`SliceUpIllegalIntegerPHI` splits a phi of an illegal integer type into
smaller phis. It inserts a trunc of each incoming value at the end of
the incoming block, before its terminator. When the incoming value is
the result of that terminator, the trunc uses it before it is defined.
The verifier rejects this and without verification the `asm goto` code
in the issue reads a stale register.

The function already bailed out for this case but only for `invoke`.
This makes the check cover any terminator, so `callbr` is handled too.
It is the same problem as #247678, in a different function.

Fixes #248039

Assisted-by: Claude Code (Opus 5.5)
DeltaFile
+74-0llvm/test/Transforms/InstCombine/phi.ll
+6-18llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
+80-182 files

LLVM/project c3485ea — llvm/test/Transforms/CallSiteSplitting bad-attribute-call-before-call.ll

[Review] fixed the names again because I misread everything
DeltaFile
+66-66llvm/test/Transforms/CallSiteSplitting/bad-attribute-call-before-call.ll
+66-661 files

OPNSense/core 0cf7793 — src/etc/inc interfaces.inc

interfaces: avoid DHCPv6 tracker changes during rc.linkup #11367
DeltaFile
+11-5src/etc/inc/interfaces.inc
+11-51 files

FreeBSD/doc 5e77d28 — documentation/content/en/books/handbook/desktop _index.adoc

handbook/desktop: Link desktops table
DeltaFile
+6-6documentation/content/en/books/handbook/desktop/_index.adoc
+6-61 files

LLVM/project 6194de3 — clang/test/CodeGen sanitize-ignorelist-mainfile.c asan-new-pm.ll, llvm/include/llvm/IR RuntimeLibcalls.td

AddressSanitizer: Declare runtime functions with RuntimeLibcallsInfo

Declare the asan runtime functions with RuntimeLibcallsInfo, so they
get the signatures and attributes from the libcall definitions. The
ELF globals registration functions are only declared for ELF targets,
which are the only users.

It is now an error to run the pass for a target that does not provide
the asan runtime. Tests with no triple, or a triple without an OS, now
use a Linux triple.

The experiment report functions are only used by a hidden testing
option, so keep declaring them by name and drop their RuntimeLibcalls
entries.

The kind of hacky part of this is the pass is now reasoning directly
in terms of LibcallImpl, instead of looking up the LibcallImpl from
the Libcall. This is because at the moment non-codegen passes don't
have a simple way of using LibcallLoweringInfo. There arguably should

    [4 lines not shown]
DeltaFile
+89-64llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+38-37llvm/test/Instrumentation/AddressSanitizer/vector-load-store.ll
+7-15llvm/include/llvm/IR/RuntimeLibcalls.td
+15-0llvm/test/Instrumentation/AddressSanitizer/unsupported-target.ll
+5-6clang/test/CodeGen/asan-new-pm.ll
+5-5clang/test/CodeGen/sanitize-ignorelist-mainfile.c
+159-12732 files not shown
+200-16938 files

LLVM/project 9ab0304 — llvm/lib/Target/AMDGPU VOP3PInstructions.td VOP3Instructions.td, llvm/test/CodeGen/AMDGPU waitcnt-vavdst-pipes.mir waitcnt-vavdst-pipe-classes.mir

[AMDGPU] Classify gfx125x VALU completion pipes for expert scheduling

VA_VDST decrements in issue order only among VALU instructions that
complete on the same pipe. The expert scheduling classification did not
match the MI400 documentation in several places:

- 64-bit transcendentals complete with the DP-MACC, not with the 16-bit
  and 32-bit transcendentals.
- More instructions complete on the DP-MACC: conversions to f64,
  v_fmac/fmaak/fmamk_f64, 64-bit min/max, v_mul_u64, packed f64 and
  v_wmma_f64_16x16x4_f64.
- 32-bit multiplies, 64-bit shifts, adds, moves and 64-bit compares
  complete on the side MACC on gfx1250 and on the DP-MACC on gfx1251.
  Add a subtarget feature for the former. gfx12-5-generic has to be
  valid for both, so it gets no order for them. 64-bit integer V_CMPX
  uses the side MACC on both.
- DOT4 and DOT8 use the side MACC, not the XDL pipe.

Add an unordered class for instructions without a usable order. A

    [8 lines not shown]
DeltaFile
+463-0llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-pipe-classes.mir
+43-0llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-pipes.mir
+32-1llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+29-0llvm/lib/Target/AMDGPU/VOPInstructions.td
+16-11llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+17-10llvm/lib/Target/AMDGPU/VOP3Instructions.td
+600-2212 files not shown
+709-6218 files

LLVM/project daa32e3 — offload/test/offloading target-no-loop.c

Add explicit map for lastprivate value

Add explicit map for lastprivate scalar value to allow copy back due to
missing implicit map (known issue #49496).
DeltaFile
+3-9offload/test/offloading/target-no-loop.c
+3-91 files

LLVM/project a4c2ba0 — clang/lib/CodeGen CGStmtOpenMP.cpp

Refuse structured binding as loop counter

Remove cast for item declarations to VarDecl to avoid asserting on
structured bindings.
DeltaFile
+4-5clang/lib/CodeGen/CGStmtOpenMP.cpp
+4-51 files

LLVM/project 9b5edf2 — clang/lib/CodeGen CGStmtOpenMP.cpp

Add braces around loop body with nested if
DeltaFile
+3-2clang/lib/CodeGen/CGStmtOpenMP.cpp
+3-21 files

LLVM/project 91da37c — clang/lib/CodeGen CGStmtOpenMP.cpp, clang/test/OpenMP target_no_loop.cpp

Drop extra barrier for lastprivate copy back
DeltaFile
+1-2clang/lib/CodeGen/CGStmtOpenMP.cpp
+1-1clang/test/OpenMP/target_no_loop.cpp
+2-32 files

LLVM/project e7bbfc3 — clang/lib/CodeGen CGOpenMPRuntimeGPU.cpp CGStmtOpenMP.cpp, clang/test/OpenMP target_no_loop.cpp

[clang][OpenMP] Emit lastprivate final copies in no-loop kernels

Promotion rejected lastprivate because the no-loop branch leaves the
worksharing path before it privatizes or copies out, so the clause would
have been silently dropped.

Privatize the non-counter variables in the parallel region and copy them
out under the last iteration that applyWorkshareLoop publishes, forcing
the exit barrier the copy reads through. Loop counters stay at the
distribute level and reach EmitOMPSimdFinal.
DeltaFile
+76-20clang/test/OpenMP/target_no_loop.cpp
+52-4clang/lib/CodeGen/CGStmtOpenMP.cpp
+48-0offload/test/offloading/target-no-loop.c
+0-2clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
+176-264 files

LLVM/project de1e0ca — llvm/test/Transforms/CallSiteSplitting bad-attribute-call-before-call.ll

[Review] remove threshold
DeltaFile
+1-1llvm/test/Transforms/CallSiteSplitting/bad-attribute-call-before-call.ll
+1-11 files

LLVM/project 8a52378 — llvm/lib/Transforms/InstCombine InstCombineCompares.cpp, llvm/test/Transforms/InstCombine scmp.ll ucmp.ll

[InstCombine] Share common binop folds between [isu]cmp. (#245004)

Move binop folds on common Shl, LShr, AShr, UDiv, SDiv operands into
helper `matchCommonBinOpOperands` introduced by
https://github.com/llvm/llvm-project/pull/222978. This gets [su]cmp the
same binop folds as icmp for free since they both use this helper.

Proofs of folds introduced:

shl nuw for ucmp: https://alive2.llvm.org/ce/z/ZHwbKb
shl nsw for ucmp: https://alive2.llvm.org/ce/z/uZpPxd
shl nsw for scmp: https://alive2.llvm.org/ce/z/mBzEek

lshr exact for ucmp: https://alive2.llvm.org/ce/z/sMM9R2

ashr exact for ucmp: https://alive2.llvm.org/ce/z/PGL3lz
ashr exact for scmp: https://alive2.llvm.org/ce/z/5mFcJ4

udiv exact for ucmp: https://alive2.llvm.org/ce/z/RKizVW

    [11 lines not shown]
DeltaFile
+147-0llvm/test/Transforms/InstCombine/ucmp.ll
+126-0llvm/test/Transforms/InstCombine/scmp.ll
+39-28llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+312-283 files

LLVM/project b9b9cd6 — llvm/docs/CommandGuide llvm-cov.md, llvm/test/tools/llvm-cov object-as-source-file.test

[llvm-cov] Warn when an object file is passed as a source file (#243524)

Only the first positional argument to llvm-cov show/report/export is an
object; the rest are source files. This makes it easy to accidentally
pass objects as sources.

This patch adds a warning when a positional source argument has a magic
number that looks like an object. This is only applied to arguments
named directly on the command line; files found by scanning a directory
aren't checked, so passing a large source tree doesn't incur extra
overhead.

Assisted-by: claude
DeltaFile
+38-0llvm/test/tools/llvm-cov/object-as-source-file.test
+28-1llvm/tools/llvm-cov/CodeCoverage.cpp
+12-0llvm/docs/CommandGuide/llvm-cov.md
+1-0llvm/tools/llvm-cov/CMakeLists.txt
+79-14 files

LLVM/project ea8c1e3 — llvm/lib/Transforms/Scalar CallSiteSplitting.cpp, llvm/test/Transforms/CallSiteSplitting bad-attribute-call-before-call.ll

[Review] if(...) if(...) return false and rename basicblocks
DeltaFile
+56-56llvm/test/Transforms/CallSiteSplitting/bad-attribute-call-before-call.ll
+3-4llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
+59-602 files

LLVM/project 08d73f7 — llvm/test/CodeGen/AMDGPU scalar-float-sop1.ll, llvm/test/CodeGen/AMDGPU/GlobalISel ssubsat.ll saddsat.ll

AMDGPU: Resolve VALU hazards at SI_RETURN_TO_EPILOG on gfx11

The shader part after SI_RETURN_TO_EPILOG is compiled separately and
assumes no outstanding VALU writes, so VALU forwarding hazards across
the boundary were missed. Insert s_waitcnt_depctr va_vdst(0) before
the return. Mesa currently conservatively hacks in this wait when
linking shader parts.

Assisted-by: Claude
DeltaFile
+440-192llvm/test/CodeGen/AMDGPU/GlobalISel/usubsat.ll
+440-192llvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll
+407-172llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
+378-163llvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll
+378-163llvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll
+405-94llvm/test/CodeGen/AMDGPU/scalar-float-sop1.ll
+2,448-976115 files not shown
+5,146-1,628121 files

LLVM/project 4ccaeaa — offload/liboffload/plugins/level_zero/src L0Device.cpp, offload/unittests/OffloadAPI/memory olMemcpy3D.cpp

[Offload][L0] Copy a single slice as a 2D region (#246571)

For a 3D copy with a depth of one, add the z offsets to the source and
destination pointers and pass a z origin of zero to
zeCommandListAppendMemoryCopyRegion, instead of passing a nonzero z
origin with a depth of one.

Assisted by Claude.

---------

Co-authored-by: blazej-smorawski <blazej.smorawski at intel.com>
DeltaFile
+15-4offload/liboffload/plugins/level_zero/src/L0Device.cpp
+0-1offload/unittests/OffloadAPI/memory/olMemcpy3D.cpp
+15-52 files

LLVM/project 4798b84 — llvm/lib/Analysis ValueTracking.cpp, llvm/test/Analysis/ValueTracking phi-known-bits.ll

[ValueTracking] Limit compare analysis to integer types (#239757)

Fix bug introduced in https://github.com/llvm/llvm-project/pull/237661.
Improving KnownBits by doing compare analysis must not be done on fat
pointers since compares on them only test address bits and provide no
information on non-address bits. Fix by limiting analysis to integers.

Also do not analyze ICMP_NE since it provides almost no information.

---------

Signed-off-by: John Lu <John.Lu at amd.com>
DeltaFile
+72-0llvm/test/Analysis/ValueTracking/phi-known-bits.ll
+22-18llvm/lib/Analysis/ValueTracking.cpp
+94-182 files

LLVM/project 3d21ce3 — lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp, lldb/test/API/functionalities/gdb_remote_client TestReadMemory.py TestWriteMemory.py

[lldb] Show the stub's error string on failed memory access (#247810)

A stub that supports QEnableErrorStrings can say why a memory read or
write failed by replying `Exx;<hex text>`. ProcessGDBRemote dropped the
text and reported only the address. Append it to the error:

```
memory read failed for 0x1000: no such region
```

A bare `Exx` reply keeps the current message.

rdar://193043790
Assisted-by: Claude
DeltaFile
+18-4lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+22-0lldb/test/API/functionalities/gdb_remote_client/TestWriteMemory.py
+20-0lldb/test/API/functionalities/gdb_remote_client/TestReadMemory.py
+60-43 files

FreeBSD/src 5a22911 — stand/common load_elf.c, stand/efi/include efilib.h

loader.efi: Measure boot policy and loaded contents with a TPM

Use the EFI TCG2 protocol, or the legacy TCG protocol on TPM 1.2
firmware, to extend the loader PCRs and record EV_IPL events in the
firmware event log.

Extend PCR 8 with the final kernel environment and the type, name, and
arguments of each loaded boot input.  Prefix both record types with
versioned, NUL-terminated domain strings.  These make the records
self-identifying and define an explicit measured policy encoding.  Store
the complete measured pre-images in the event data so attestation and
diagnostic tools can audit the values without an out of band copy.

Extend PCR 9 with the initialized contents of kernels, modules, and raw
boot inputs, but record only descriptive labels rather than copying file
contents into the event log.

The Lua module table has no defined traversal order.  Retain content
ranges as loader-private metadata, then sort the final file list before

    [32 lines not shown]
DeltaFile
+463-0stand/efi/libefi/tpm.c
+38-1stand/man/loader.efi.8
+14-0stand/efi/libefi/tpm-compat/Uefi.h
+12-0stand/common/load_elf.c
+4-0stand/efi/include/efilib.h
+3-0stand/efi/loader/bootinfo.c
+534-17 files not shown
+548-113 files