LLVM/project c348d3b — llvm/lib/Transforms/Vectorize/SLPVectorizer SLPUtils.cpp, llvm/test/Transforms/SLPVectorizer/X86 abs-sub-non-overflowing-lane.ll

[SLP] Fix crash in isCommutative for abs users of non-overflowing lanes

An or, xor or and lane converted to sub keeps its original opcode and has
no wrap flags, so querying nsw on it asserts. Such a lane does not clear
nsw of the vector sub either, so it is treated like a copyable lane: its
operands can be swapped only if abs is poison on INT_MIN.

Fixes #242907.

Pull-request: https://github.com/llvm/llvm-project/pull/242927
DeltaFile
+52-0llvm/test/Transforms/SLPVectorizer/X86/abs-sub-non-overflowing-lane.ll
+3-1llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.cpp
+55-12 files

LLVM/project 4ae5ba3 — llvm/include/llvm/IR DataLayout.h, llvm/lib/IR DataLayout.cpp

IR: Handle integers and pointers first in DataLayout::getTypeAllocSize

getTypeAllocSize is mostly called on integer and pointer types, but the
recursive array and struct cases made every call set up a large stack
frame. Move the other types to a separate function, so the common cases
don't need it. The pointer case also only looks up the pointer spec once.

callgrind instructions, opt -O3: sqlite3 -0.16%, consumer-typeset z08.bc
-0.13%, kimwitu++ k.bc -0.10%, SPASS cnf.bc -0.09%. CTMark
instructions:u: O3 -0.06%, ThinLTO -0.08%.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+19-11llvm/lib/IR/DataLayout.cpp
+3-0llvm/include/llvm/IR/DataLayout.h
+22-112 files

FreeBSD/src 866760f — share/man/man4 mps.4 mpr.4, sys/dev/mpr mprvar.h mpr.c

mps(4): add support for hostboot

If the mps/mpr(4) device has corrupted or missing firmware then
it will fail to attach.

Add an interface to use firmware(9) to load the firmware at boot.

Loosely based on https://github.com/marcan/lsirec/

Assisted-by:    Claude Code (Opus 5)
Reviewed by:    imp
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D59854
DeltaFile
+251-19sys/dev/mps/mps.c
+252-18sys/dev/mpr/mpr.c
+44-1share/man/man4/mps.4
+44-1share/man/man4/mpr.4
+2-0sys/dev/mps/mpsvar.h
+2-0sys/dev/mpr/mprvar.h
+595-396 files

LLVM/project f2d135f — llvm/include/llvm/IR Type.h, llvm/lib/IR Type.cpp

IR: Make Type::getScalarSizeInBits inline for integers

getScalarSizeInBits is called very often from ValueTracking and
InstCombine, almost always on integer types. Return the integer width
directly instead of calling getPrimitiveSizeInBits out of line.

callgrind instructions, opt -O3: sqlite3 -0.18%, consumer-typeset z08.bc
-0.11%, SPASS cnf.bc -0.10%. CTMark instructions:u: O3 -0.06%,
ThinLTO -0.06%.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+8-1llvm/include/llvm/IR/Type.h
+0-5llvm/lib/IR/Type.cpp
+8-62 files

NetBSD/pkgsrc JnkXsUa — doc TODO CHANGES-2026

   doc: Updated benchmarks/postal to 0.76
VersionDeltaFile
1.28402+1-2doc/TODO
1.8078+2-1doc/CHANGES-2026
+3-32 files

NetBSD/pkgsrc w7Odfnz — benchmarks/postal Makefile distinfo, benchmarks/postal/patches patch-ab patch-aa

   postal: update to 0.76

   (0.76)
     * Updated control file to include homepage and git repository.
     * #define PATH_MAX if it's not already defined, for HURD.

   (0.75)
     * Fix some compiler warnings.
     * Stop autoconf controlling stripping.

   (0.74)
     * Add -b option to bind to an address to bhm
     * Add changes from NMU and use Debhelper compat level 9.
     * Fix buffer underrun.
     * Made it build with GCC-6.

   (0.73)
     * Do not #include <gcrypt.h> when unnecessary.
     * Stop linking against libgcrypt.

    [23 lines not shown]
VersionDeltaFile
1.2+7-21benchmarks/postal/patches/patch-bhmusers.h
1.2+5-19benchmarks/postal/patches/patch-smtp.h
1.13+8-8benchmarks/postal/distinfo
1.4+9-7benchmarks/postal/patches/patch-aa
1.4+8-7benchmarks/postal/patches/patch-ab
1.28+2-3benchmarks/postal/Makefile
+39-656 files

LLVM/project a6f99eb — llvm/lib/Target/NVPTX NVPTXISelLowering.cpp, llvm/test/CodeGen/NVPTX math-intrins.ll

[NVPTX] Expand lrint and llrint for f32 and f64 (#242764)

marks `(l)lrint` as Expand for f32/f64 on NVPTX. 

they defaulted to LibCall, since NVPTX has no libm, they crashed. 

now they use the generic FRINT + FP_TO_SINT expansion.

from #240078
DeltaFile
+99-0llvm/test/CodeGen/NVPTX/math-intrins.ll
+2-0llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+101-02 files

FreeBSD/ports 232cb6b — archivers/libunrar distinfo, archivers/libunrar/files patch-rijndael.hpp patch-os.hpp

archivers/libunrar: Update to 7.3.2

Bump PORTREVISION on filesystems/rar2fs which builds against the
source.
DeltaFile
+17-22archivers/libunrar/files/patch-rijndael.cpp
+2-9archivers/libunrar/files/patch-crc.cpp
+5-5archivers/libunrar/files/patch-os.hpp
+3-3archivers/libunrar/distinfo
+2-2archivers/libunrar/files/patch-rijndael.hpp
+1-1filesystems/rar2fs/Makefile
+30-421 files not shown
+31-437 files

FreeBSD/src b3b7381 — libexec/nuageinit nuageinit

nuageinit: Skip ssh keys if default user adduser fails

Commit d9fa6016011e ("nuageinit; Skip SSH keys and doas/sudo if adduser
fails") handled nil return from a failing adduser when adding secondary
users, but the same issue also existed in the default user handling.

Reported by:    llm-postcr
Reviewed by:    dtxdf
Supported by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D61511
DeltaFile
+1-1libexec/nuageinit/nuageinit
+1-11 files

LLVM/project 3324d40 — clang/include/clang/Basic BuiltinsAMDGPU.td

AMDGPU: Add named ArgRange classes for common builtin operands (#242552)

Name the ranges shared by many builtins after the operand they
constrain: byte/word select indexes, scale_sel, f8f6f4 matrix formats,
and wmma neg flags on variants that do not support negation. NFC.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+58-53clang/include/clang/Basic/BuiltinsAMDGPU.td
+58-531 files

LLVM/project f795a17 — clang/include/clang/Basic BuiltinsAMDGPU.td, clang/lib/Sema SemaAMDGPU.cpp

AMDGPU: Use ArgRange for prefetch cache policy bounds (#242551)

Only the reserved th value check remains in Sema.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+1-3clang/lib/Sema/SemaAMDGPU.cpp
+2-2clang/include/clang/Basic/BuiltinsAMDGPU.td
+3-52 files

LLVM/project 9fa789f — libclc/opencl/lib/spirv/vulkan/shared vstore_half.inc vstore_half.cl

[libclc][spirv] Add double support to Vulkan vstore_half/vstorea_half (#242829)

Implement `double` overloads for `vstore_half` and `vstorea_half` under
`cl_khr_fp64`. Round each element with the Vulkan boundary checks, then
forward it as `float` to the existing `vstore_half_N` and
`vstorea_half_N` helpers.

Prerequisite for google/clspv#1752; end-to-end tests will be added there
since `libclc/test` currently targets only AMDGPU.

I used AI assistance to prepare and review this patch.
I reviewed the entire change and take full responsibility for this PR.

Assisted-by: Antigravity Gemini 4 Hydrogen Extra reasoning
Assisted-by: Claude Code Opus 5.5 Max reasoning
DeltaFile
+92-5libclc/opencl/lib/spirv/vulkan/shared/vstore_half.cl
+2-2libclc/opencl/lib/spirv/vulkan/shared/vstore_half.inc
+94-72 files

OpenBSD/ports gHsmtNI — misc/llama.cpp distinfo Makefile, misc/llama.cpp/patches patch-tools_server_server-common_cpp

   misc/llama.cpp: update to 1.0.0
VersionDeltaFile
1.40+5-5misc/llama.cpp/Makefile
1.32+4-4misc/llama.cpp/distinfo
1.2+1-1misc/llama.cpp/patches/patch-tools_server_server-common_cpp
+10-103 files

OpenBSD/ports OhvesgE — devel/libggml distinfo Makefile

   devel/libggml: update to 1.0.0
VersionDeltaFile
1.33+3-3devel/libggml/Makefile
1.29+2-2devel/libggml/distinfo
+5-52 files

NetBSD/pkgsrc jtEKzPT — doc CHANGES-2026

   doc: Updated chat/toxcore to 0.2.25
VersionDeltaFile
1.8077+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc N3yJEwg — chat/toxcore PLIST Makefile

   toxcore: update to 0.2.25

   - Ignore group sync responses we didn't request.
   - Only sync group state once per roles checksum.
   - Remove a group if loading its saved state fails.
   - Limit how many peers and relay clients we keep.
   - Only store group announces for up to 512 groups.
   - Only queue up to 1024 priority packets per TCP connection.
   - Don't free memory that's still stored elsewhere.
   - Remove group peers added by requests that then fail.
   - Check the handshake rate limit before adding a group peer.
   - End call ringing for inactive calls.
   - Try a friend's newest saved TCP relays first after 65536 of them.
   - Compare wrapped counters and sequence numbers modulo their size.
   - Only allow the 2 known conference types.
   - Better handling of file or AV call cancelling.
   - Don't read from evicted epoll TCP connections.
   - Clean up minor group chat issue for early joins.
   - Finish removals when array shrinking fails.

    [2 lines not shown]
VersionDeltaFile
1.12+4-4chat/toxcore/distinfo
1.9+2-2chat/toxcore/PLIST
1.14+2-2chat/toxcore/Makefile
+8-83 files

LLVM/project c74b358 — llvm/lib/Support KnownFPClass.cpp, llvm/test/Transforms/Attributor nofpclass-constrained-fadd-fsub.ll nofpclass-fadd-fsub.ll

[KnownFPClass] improve deductions for fadd_self (#239257)

`fadd_self` is just multiplication by two. I removed the call to
`fadd_impl` and replaced it with the optimal conditions to rule out each
class, which improved deductions around NaN, infinity, and normal
classes. These refinements are valid for all rounding modes.

`fadd_impl` could not rule out NaN if both infinities were possible for
`fadd_self`: `fadd` produces NaN for `+inf + -inf` and `-inf + +inf`,
which are both impossible for `fadd_self`.

I avoided using `ldexp` so we do not have to pass in the `APFloat`
semantics into `fadd_self`.
DeltaFile
+45-15llvm/test/Transforms/Attributor/nofpclass-fadd-fsub.ll
+18-2llvm/lib/Support/KnownFPClass.cpp
+8-8llvm/test/Transforms/Attributor/nofpclass-constrained-fadd-fsub.ll
+71-253 files

LLVM/project ecf2c3d — llvm/tools/llvm-strings llvm-strings.cpp

Merge branch 'users/hvdijk/llvm-strings-unicode' into users/hvdijk/llvm-strings-encoding-utf16-utf32
DeltaFile
+2-4llvm/tools/llvm-strings/llvm-strings.cpp
+2-41 files

LLVM/project 10e0a31 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer revec.ll

[SLP] Keep original type for values with non-demoted vectorized users

A vectorized user, which stays in the original type, consumes the
extension of the demoted value with the wrong upper bits and may keep
poison-generating flags. Keep sext/zext nodes, demoted below their source
width, in the original type for such users, and check the flags of these
users for other demoted nodes.

Fixes #242864

Pull-request: https://github.com/llvm/llvm-project/pull/242915
DeltaFile
+37-4llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+8-8llvm/test/Transforms/SLPVectorizer/X86/minbw-non-demoted-vectorized-user.ll
+3-4llvm/test/Transforms/SLPVectorizer/X86/minbw-and-mask-unsigned-operand.ll
+1-2llvm/test/Transforms/SLPVectorizer/revec.ll
+49-184 files

HardenedBSD/src 86c5505 — sys/dev/asmc asmcmmio.h asmc_mmio.h

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+0-401sys/dev/asmc/asmcmmio.c
+401-0sys/dev/asmc/asmc_mmio.c
+77-70sys/dev/asmc/asmc_sysctl.c
+106-11sys/dev/asmc/asmc.c
+0-56sys/dev/asmc/asmcmmio.h
+56-0sys/dev/asmc/asmc_mmio.h
+640-5389 files not shown
+713-55915 files

HardenedBSD/src 7fe29d0 — sys/dev/asmc asmcmmio.h asmc_mmio.h

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+0-401sys/dev/asmc/asmcmmio.c
+401-0sys/dev/asmc/asmc_mmio.c
+77-70sys/dev/asmc/asmc_sysctl.c
+106-11sys/dev/asmc/asmc.c
+0-56sys/dev/asmc/asmcmmio.h
+56-0sys/dev/asmc/asmc_mmio.h
+640-5389 files not shown
+713-55915 files

HardenedBSD/src 05bf16b — contrib/llvm-project/llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+25-7contrib/llvm-project/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+25-71 files

HardenedBSD/ports 7564bda — Mk bsd.licenses.db.mk, devel/detect-it-easy pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+2,831-0devel/detect-it-easy/pkg-plist
+313-335devel/hs-git-annex/distinfo
+373-12Mk/bsd.licenses.db.mk
+14-263devel/hs-git-annex/Makefile
+250-0devel/hs-git-annex/Makefile.cabal
+128-5ports-mgmt/portlint/src/portlint.pl
+3,909-61541 files not shown
+4,231-91147 files

LLVM/project c90a8d2 — llvm/lib/Transforms/Vectorize VPlanUtils.h VPlanUtils.cpp, llvm/test/Transforms/LoopVectorize if-pred-non-void.ll

[VPlan] Don't pack predicated values only used as scalars. (#242903)

When only scalars are used, avoid the vector round trip by skipping
packing the scalars in a vector, and instead using them via their scalar
phis.

Add a helper to determine whether only scalars are used, to be re-use in
follow-up.
DeltaFile
+6-14llvm/test/Transforms/LoopVectorize/if-pred-non-void.ll
+10-6llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
+8-0llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+4-0llvm/lib/Transforms/Vectorize/VPlanUtils.h
+28-204 files

LLVM/project e8cb9b8 — llvm/lib/CodeGen MachineBasicBlock.cpp, llvm/test/CodeGen/X86 lea-fixup-debug-instrs.mir

[CodeGen] Stop trailing debug instructions from changing liveness queries (#235667)

When `computeRegisterLiveness` exhausts its bounded forward scan on the
block's last ordinary instruction, a trailing debug instruction or
pseudo
probe leaves the iterator short of `end()`. The end-of-block successor
live-in check is missed, so the fallback scan can return `LQR_Live` or
`LQR_Unknown` where `LQR_Dead` is expected. In `X86FixupLEAs`, this
keeps a
two-address LEA instead of converting it to ADD.

Skip trailing debug instructions and pseudo probes before the
end-of-block
check. Extend the existing X86FixupLEAs MIR test with the exact
ten-instruction boundary. A C reproducer emits `leaq (%rax,%rsi), %rax`
with
`-g` and `addq %rsi, %rax` with `-g0`; the patch makes both use ADD.

This issue was found by a non-AI automated testing tool. AI assisted
with the analysis and development of the fix.
DeltaFile
+58-0llvm/test/CodeGen/X86/lea-fixup-debug-instrs.mir
+3-0llvm/lib/CodeGen/MachineBasicBlock.cpp
+61-02 files

LLVM/project 0c221c2 — llvm/lib/Target/ARM ARMBaseInstrInfo.cpp, llvm/test/CodeGen/ARM cmp1-peephole-thumb.mir

[ARM] Preserve Thumb1 compare elimination across debug instructions (#237505)

A debug value between a Thumb1 multiply and compare prevents the
existing `MULS/MOVS/MOVS/CMP` reorder. As a result, debug builds retain
a redundant compare that is eliminated without debug information.

Move the intervening `MOVS` instructions before the multiply instead of
moving the multiply past the debug value. This keeps debug values after
the definitions they describe while allowing the compare to be
eliminated.

Fixes #227925

This issue was found by a non-AI automated testing tool. AI assisted
with the analysis and development of the fix.
DeltaFile
+33-15llvm/test/CodeGen/ARM/cmp1-peephole-thumb.mir
+9-7llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
+42-222 files

LLVM/project 9354118 — llvm/tools/llvm-strings llvm-strings.cpp

Fixes for crtomb
DeltaFile
+2-4llvm/tools/llvm-strings/llvm-strings.cpp
+2-41 files

LLVM/project a45fa42 — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/lib/Target/X86 X86ISelLowering.h X86ISelLowering.cpp

[X86] Mark vXi64 int to fp undesirable without AVX512DQ

Without avx512dq there is no vector conversion from i64 elements to f32
or f64, so widening the conversion of a source truncated with nsw or nuw
back to i64 makes it slower.

avx512fp16 converts i64 elements to f16 directly, so the widening folds
now pass the node and the check sees the result type.

Assisted-by: Claude Code Opus 5.5
DeltaFile
+63-128llvm/test/CodeGen/X86/combine-uitofp.ll
+32-130llvm/test/CodeGen/X86/combine-sitofp.ll
+10-76llvm/test/CodeGen/X86/avx512fp16-int-to-fp-trunc.ll
+10-0llvm/lib/Target/X86/X86ISelLowering.cpp
+2-4llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+1-0llvm/lib/Target/X86/X86ISelLowering.h
+118-3386 files

LLVM/project 99dafcb — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/X86 avx512fp16-int-to-fp-trunc.ll combine-uitofp.ll

[DAGCombiner] Mark uint_to_fp widened through trunc nuw as nneg

The source of a trunc nuw fits in a strictly narrower type, so it is
non-negative. Without nneg x86 lowers the widened conversion through the
unsigned i64 expansion.

Assisted-by: Claude Code Opus 5.5
DeltaFile
+12-74llvm/test/CodeGen/X86/combine-uitofp.ll
+6-3llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+1-1llvm/test/CodeGen/X86/avx512fp16-int-to-fp-trunc.ll
+19-783 files

LLVM/project 559ff40 — llvm/test/CodeGen/X86 combine-sitofp.ll avx512fp16-int-to-fp-trunc.ll

[NFC][X86] Add tests for int to fp of a trunc nuw or nsw source

Without avx512dq a vector i64 source truncated with nsw or nuw is
converted one element at a time or through the unsigned i64 expansion.
A scalar source truncated with nuw takes the expansion without avx512f.
avx512fp16 converts i64 to half directly even without avx512dq.

Assisted-by: Claude Code Opus 5.5
DeltaFile
+585-0llvm/test/CodeGen/X86/combine-uitofp.ll
+319-0llvm/test/CodeGen/X86/avx512fp16-int-to-fp-trunc.ll
+310-4llvm/test/CodeGen/X86/combine-sitofp.ll
+1,214-43 files