LLVM/project 666110b — llvm/lib/Transforms/Vectorize LoopVectorizationLegality.cpp LoopVectorizationPlanner.cpp

[Vectorize] Declare command line options in TableGen (#231025)

TailFoldingPolicyTy moves to VectorizeOptions.h. LoopVectorize.h no
longer exports EnableLoopInterleaving and EnableLoopVectorization, which
nothing outside the library reads. LoopVectorizeHints and
LoopVectorizationLegality take the options struct in their constructors.

The -vplan-print-* options and -sbvec-always-verify are AssertsOnly
(#230898), no longer available in LLVM_ENABLE_DUMP builds without
assertions.

-vplan-verify-each defaults to VPlanVerifyEachDefault, true under
EXPENSIVE_CHECKS. -epilogue-vectorization-force-VF (ElementCount parser)
stays cl::opt.

Aided by Opus 5.5
DeltaFile
+430-592llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+125-371llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+331-0llvm/lib/Transforms/Vectorize/VectorizeOptions.td
+25-56llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
+15-60llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.cpp
+12-50llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
+938-1,12927 files not shown
+1,211-1,35833 files

LLVM/project fd288b2 — clang/include/clang/AST Decl.h

format
DeltaFile
+1-1clang/include/clang/AST/Decl.h
+1-11 files

LLVM/project c3519ec — clang/include/clang/AST Decl.h

Update clang/include/clang/AST/Decl.h

Co-authored-by: Corentin Jabot <corentinjabot at gmail.com>
DeltaFile
+1-0clang/include/clang/AST/Decl.h
+1-01 files

LLVM/project a5b0665 — clang/include/clang/AST Decl.h

Update clang/include/clang/AST/Decl.h

Co-authored-by: Corentin Jabot <corentinjabot at gmail.com>
DeltaFile
+1-0clang/include/clang/AST/Decl.h
+1-01 files

LLVM/project 182e273 — clang/docs ReleaseNotes.md

Update clang/docs/ReleaseNotes.md

Co-authored-by: Corentin Jabot <corentinjabot at gmail.com>
DeltaFile
+2-3clang/docs/ReleaseNotes.md
+2-31 files

LLVM/project 9d4c617 — clang/docs/ScalableStaticAnalysis/user-docs MakeProjects.md, clang/test/Analysis/Scalable/ssaf-orchestrator-make link-driver-ld-lld.test

[clang][ssaf] Interpose ld.lld in clang-ssaf-orchestrator-make (#231720)

A clang built with CLANG_DEFAULT_LINKER=lld, or given -fuse-ld=lld, runs
ld.lld for a link rather than ld, so the ld shim stands in for ld.lld
too. ld.lld takes ld's command line.

Assisted-by: Claude
DeltaFile
+41-0clang/test/Analysis/Scalable/ssaf-orchestrator-make/link-driver-ld-lld.test
+10-2clang/tools/clang-ssaf-orchestrator-make/tests/test_clang_shim.py
+2-2clang/docs/ScalableStaticAnalysis/user-docs/MakeProjects.md
+1-0clang/tools/clang-ssaf-orchestrator-make/lib/clang_ssaf_orchestrator_make/config.py
+54-44 files

LLVM/project 149333a — clang/lib/AST Decl.cpp

use `getNumParamsIncludingThis`
DeltaFile
+1-5clang/lib/AST/Decl.cpp
+1-51 files

OpenBSD/src M3EZ2rh — usr.sbin/ypbind ypbind.c

   fix mistake in rev 1.82 that resulted in an early exit()
   ok deraadt@
VersionDeltaFile
1.87+1-2usr.sbin/ypbind/ypbind.c
+1-21 files

LLVM/project dd04612 — llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer VecUtils.h, llvm/lib/SandboxIR Constant.cpp

[SandboxVec][LoadStoreVec] Support constant vectors of mixed types
DeltaFile
+400-4llvm/test/Transforms/SandboxVectorizer/Passes/LoadStoreVec/load_store_vec_mixed_types.ll
+118-26llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+56-28llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h
+25-24llvm/unittests/Transforms/Vectorize/SandboxVectorizer/VecUtilsTest.cpp
+35-0llvm/lib/Transforms/Vectorize/SandboxVectorizer/VecUtils.cpp
+18-0llvm/lib/SandboxIR/Constant.cpp
+652-825 files not shown
+676-8311 files

LLVM/project e0da50d — llvm/lib/Transforms/InstCombine InstCombineCasts.cpp, llvm/test/CodeGen/AMDGPU amdgpu-simplify-libcall-pow.ll

[InstCombine] Fold fpto[su]i of llvm.trunc (#231414)

fptoui and fptosi already round toward zero, so a preceding llvm.trunc
is redundant and the conversion can take the untruncated value. NaN,
infinity, and out of range inputs produce poison in both forms.

```llvm
%t = call float @llvm.trunc.f32(float %x)
%r = fptosi float %t to i32
  -->
%r = fptosi float %x to i32
```

The trunc may have other users; only the conversion operand is replaced.

Alive2 link: https://alive2.llvm.org/ce/z/HvbncV
DeltaFile
+8-14llvm/test/Transforms/InstCombine/fpcast.ll
+5-8llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow.ll
+5-0llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
+18-223 files

LLVM/project 0768612 — llvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.896bit.ll amdgcn.bitcast.960bit.ll

Merge branch 'main' into users/bassiounix/clang/default-postfix-inc-dec-op
DeltaFile
+59,189-78,533llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+23,347-23,371llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+30,490-14,915llvm/test/CodeGen/AMDGPU/frem.ll
+19,589-25,057llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+14,125-17,554llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+13,169-16,447llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
+159,909-175,87710,491 files not shown
+850,618-585,05010,497 files

LLVM/project 77695ad — llvm/unittests/Passes/PassBuilderBindings PassBuilderBindingsTest.cpp, llvm/unittests/Target TargetMachineOptionsTest.cpp

[unittests] Skip target tests when the default triple is not built

PassBuilder and TargetMachine C API tests FAIL when LLVM_TARGETS_TO_BUILD
excludes the host triple. Skip instead, and avoid tearing down an
uninitialized TargetMachine after a skipped SetUp.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+10-12llvm/unittests/Passes/PassBuilderBindings/PassBuilderBindingsTest.cpp
+5-3llvm/unittests/Target/TargetMachineOptionsTest.cpp
+15-152 files

LLVM/project eab6e06 — clang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema SemaBoundsSafety.cpp SemaChecking.cpp

Place error on the __builtin_counted_by_ref call.
DeltaFile
+0-9clang/lib/Sema/SemaBoundsSafety.cpp
+9-0clang/test/Sema/builtin-counted-by-ref.c
+9-0clang/lib/Sema/SemaChecking.cpp
+0-5clang/test/Sema/attr-counted-by-vla.c
+2-3clang/include/clang/Basic/DiagnosticSemaKinds.td
+20-175 files

LLVM/project 7cec672 — libclc/clc/lib/generic/math clc_exp2.cl clc_exp.cl

[libclc] Produce subnormal results for exp/exp2 on FP32 (#212696)

The FP32 __clc_exp/__clc_exp2 implementations scale the reduced result
by 2^p using integer bit manipulation (as_int(y) + (p << 23)). That
representation cannot encode a subnormal, so inputs whose result falls
below the smallest normal were unconditionally flushed to zero via "x <
llim ? 0.0f". On devices that report CL_FP_DENORM this loses the correct
subnormal result (e.g. erfc(), which is built on exp(), failed CTS
math_brute_force with the reference subnormal vs a returned 0).

Recompute the subnormal range with __clc_ldexp, which does produce
subnormals, gated on __clc_fp32_subnormals_supported() so flush-to-zero
targets keep the previous fast path. The ldexp path is restricted to
[subnorm_llim, llim); inputs below subnorm_llim (including -inf and
large-magnitude negatives) still flush to zero, since their reduced
exponent argument would be ill-formed for ldexp.
DeltaFile
+14-5libclc/clc/lib/generic/math/clc_exp.inc
+13-4libclc/clc/lib/generic/math/clc_exp2.inc
+2-0libclc/clc/lib/generic/math/clc_exp2.cl
+2-0libclc/clc/lib/generic/math/clc_exp.cl
+31-94 files

LLVM/project 81b82b8 — flang/lib/Lower/OpenMP OpenMP.cpp, flang/test/Lower/OpenMP distribute-parallel-do.f90 distribute-parallel-do-simd.f90

[flang][OpenMP] Fix cleanup placement of num_threads temporaries (#231659)

DISTRIBUTE PARALLEL DO and DISTRIBUTE PARALLEL DO SIMD evaluate the
PARALLEL clause operands before creating omp.parallel, using the
statement context of the dispatch. That context is finalized after the
returned omp.distribute, which is inside the parallel region, so every
thread destroyed the same num_threads temporary, for example for
num_threads(size(f())) where f returns an allocatable.

Evaluate these operands in a separate statement context and finalize it
after omp.parallel.

Fixes #230661

Assisted with Copilot and Claude Opus 5.5
DeltaFile
+27-9flang/lib/Lower/OpenMP/OpenMP.cpp
+32-0flang/test/Lower/OpenMP/distribute-parallel-do.f90
+32-0flang/test/Lower/OpenMP/distribute-parallel-do-simd.f90
+91-93 files

FreeBSD/src c556f4e — sys/fs/nfs nfs_var.h, sys/fs/nfsclient nfs_clrpcops.c nfs_clcomsubs.c

nfscl: Fix oddball cases for session slot release

We have identified some cases where silent slot loss can occur
when operations on NFS mounts are aborted. We experience this
when using NFSv4.2, but it likely also occurs with NFSv4.1.

A slot is acquired for compound operations by nfsv4_setsequence()
and freed by newnfs_request(). Any call path that abandons the
compound before reaching newnfs_request() loses the slot permanently.

We identified four call sites where this happens, one of
which where it actually does happen for us in a semi-reproducible
way, which allowed us to develop a candidate patch, attached.

The patch adds one function, nfsv4_freeunsentslot(), to
nfs_clcomsubs.c. It is called from each of the four call
sites: nfsrpc_writerpc(), nfsrpc_writeds(), and two in
nfsrpc_setextattr().


    [11 lines not shown]
DeltaFile
+18-0sys/fs/nfsclient/nfs_clcomsubs.c
+4-0sys/fs/nfsclient/nfs_clrpcops.c
+2-0sys/fs/nfs/nfs_var.h
+24-03 files

FreeBSD/src cfd0d2c — sys/fs/nfs nfs_var.h, sys/fs/nfsclient nfs_clrpcops.c nfs_clcomsubs.c

nfscl: Fix oddball cases for session slot release

We have identified some cases where silent slot loss can occur
when operations on NFS mounts are aborted. We experience this
when using NFSv4.2, but it likely also occurs with NFSv4.1.

A slot is acquired for compound operations by nfsv4_setsequence()
and freed by newnfs_request(). Any call path that abandons the
compound before reaching newnfs_request() loses the slot permanently.

We identified four call sites where this happens, one of
which where it actually does happen for us in a semi-reproducible
way, which allowed us to develop a candidate patch, attached.

The patch adds one function, nfsv4_freeunsentslot(), to
nfs_clcomsubs.c. It is called from each of the four call
sites: nfsrpc_writerpc(), nfsrpc_writeds(), and two in
nfsrpc_setextattr().


    [11 lines not shown]
DeltaFile
+18-0sys/fs/nfsclient/nfs_clcomsubs.c
+4-0sys/fs/nfsclient/nfs_clrpcops.c
+2-0sys/fs/nfs/nfs_var.h
+24-03 files

Linux/linux 4056b3c — arch/nios2/include/asm checksum.h

Merge tag 'nios2_update_for_v7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux

Pull NIOS2 fix from Dinh Nguyen:

 - Fix __wsum type degradation in csum_fold()

* tag 'nios2_update_for_v7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
  nios2: fix __wsum type degradation in csum_fold()
DeltaFile
+1-1arch/nios2/include/asm/checksum.h
+1-11 files

Linux/linux d77bd0d — drivers/power/supply max17042_battery.c ds2780_battery.c, include/linux power_supply.h

Merge tag 'for-v7.3-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply

Pull power supply fixes from Sebastian Reichel:
 "power-supply core:
   - prevent unregistering a power supply while a callback runs

  power-supply drivers:
   - generic-adc-battery: Fix temperature IIO channel conversion
   - ds2780: Fix ds2780_get_capacity() returning raw value
   - max17042_battery: Fix vmin assigned instead of vmax in DT parsing
   - Fix maintenance charge table kernel-doc"

* tag 'for-v7.3-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply:
  power: supply: core: prevent unregistering a power supply while a callback runs
  power: supply: generic-adc-battery: Fix temperature IIO channel conversion
  power: supply: ds2780: Fix ds2780_get_capacity() returning raw value
  power: supply: Fix maintenance charge table kernel-doc
  power: supply: max17042_battery: Fix vmin assigned instead of vmax in DT parsing
DeltaFile
+25-1drivers/power/supply/power_supply_core.c
+13-3include/linux/power_supply.h
+7-2drivers/power/supply/generic-adc-battery.c
+1-1drivers/power/supply/max17042_battery.c
+1-1drivers/power/supply/ds2780_battery.c
+47-85 files

FreeBSD/ports c98d9f0 — databases/couchdb3 Makefile distinfo

databases/couchdb3: Update to 3.5.3

- security maintenance release fixing six CVEs
- performance improvements to _bulk_docs, views, and QuickJS
- over 50 bugfixes and improvements

- https://blog.couchdb.org/2026/10/12/3-5-3/

MFH:            2026Q3
Security:       CVE-2026-86471
Security:       CVE-2026-90797
Security:       CVE-2026-90798
Security:       CVE-2026-90800
Security:       CVE-2026-90799
Security:       CVE-2026-107755
Sponsored by:   SkunkWerks, GmbH
DeltaFile
+109-107databases/couchdb3/pkg-plist
+3-3databases/couchdb3/distinfo
+1-2databases/couchdb3/Makefile
+113-1123 files

LLVM/project 3849d3a — llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Support KnownFPClass.cpp

[KnownFPClass] Add trunc/floor/ceil and fix ppcf128 demanded classes (#229982)

Adds `KnownFPClass` functions for `trunc`, `floor`, and `ceil`. Also
corrects the `DemandedSrcMask` code for `PPCDoubleDouble` in
`SimplifyDemandedUseFPClass` for the integer-rounding functions.

I've only added basic deductions for `PPCDoubleDouble` for now:
- `trunc(x)` is only `+-inf` if `x == +-inf` (we already had this)
- `floor(x)` is only `+inf` if `x == +inf`
- `ceil(x)` is only `-inf` if `x == -inf`

AI disclosure:
I used Claude Opus 5 to help write the code and tests.
DeltaFile
+355-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-rounding-intrinsics.ll
+111-22llvm/test/Transforms/InstSimplify/known-never-infinity.ll
+50-0llvm/unittests/CodeGen/GlobalISel/KnownFPClassTest.cpp
+38-4llvm/lib/Support/KnownFPClass.cpp
+26-5llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+21-4llvm/include/llvm/Support/KnownFPClass.h
+601-354 files not shown
+638-4910 files

OpenBSD/src mshddcZ — usr.sbin/rtrd sockets.c

   remove fcntl() O_NONBLOCK and replace with accept4() SOCK_NONBLOCK

   OK deraadt@ tb@
VersionDeltaFile
1.8+4-39usr.sbin/rtrd/sockets.c
+4-391 files

LLVM/project 233a177 — llvm/test/Transforms/SLPVectorizer/RISCV iss231116.ll intrinsic-splat-operands.ll

[SLP][RISCV] Add tests for costing splat operands of intrinsics (#231672)

Tests for #231400.

AI Usage: Assisted by Codex
DeltaFile
+123-0llvm/test/Transforms/SLPVectorizer/RISCV/intrinsic-splat-operands.ll
+116-0llvm/test/Transforms/SLPVectorizer/RISCV/iss231116.ll
+239-02 files

LLVM/project 9f08536 — llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer VecUtils.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer VecUtils.cpp

[SandboxVec][LoadStoreVec] Support constant vectors of mixed types
DeltaFile
+400-4llvm/test/Transforms/SandboxVectorizer/Passes/LoadStoreVec/load_store_vec_mixed_types.ll
+118-26llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+56-28llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h
+25-24llvm/unittests/Transforms/Vectorize/SandboxVectorizer/VecUtilsTest.cpp
+35-0llvm/lib/Transforms/Vectorize/SandboxVectorizer/VecUtils.cpp
+10-12llvm/unittests/Passes/PassBuilderBindings/PassBuilderBindingsTest.cpp
+644-947 files not shown
+691-9813 files

LLVM/project ee51d7d — lldb/include/lldb/Core ModuleSpec.h, lldb/source/API SBModuleSpec.cpp

[lldb] Remove ConstString from ModuleSpec (#230282)
DeltaFile
+10-12lldb/source/Core/Module.cpp
+8-9lldb/include/lldb/Core/ModuleSpec.h
+5-2lldb/source/API/SBModuleSpec.cpp
+2-2lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
+1-1lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
+1-1lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ObjectContainerMachOFileset.cpp
+27-272 files not shown
+29-288 files

FreeBSD/src fe90f18 — sys/kern subr_epoch.c

epoch: Queue drain callbacks from each CPU's callback task

epoch_drain_callbacks() bound the calling thread to each CPU in turn
to queue a callback on that CPU's record.  Callers are often user
threads, such as kldunload or ifconfig destroy, and ULE does not
preempt a CPU-bound thread for a migrating thread of no better
priority, so each bind could wait out a time slice.  On an 8-CPU VM
with six busy loops running, destroying an epair interface took 1.5 s
and kldunload pflow 0.8 s.

Instead, set a request flag on each record and enqueue that CPU's
callback task, which queues the callback before it polls the record.
The task runs on the CPU's softirq gtaskqueue thread at PI_SOFT, which
preempts a busy user thread, so the request is served at once; the
caller no longer migrates.  Both operations now take under 10 ms, idle
or under load.

Reviewed by:            markj
Sponsored by:           Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D60646
DeltaFile
+19-42sys/kern/subr_epoch.c
+19-421 files

HardenedBSD/src c95933e — . ObsoleteFiles.inc, lib/libc/net protocols

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+18-0share/keys/hbsd-update/trusted/dnssec.key-2026-10-13
+0-17share/keys/hbsd-update/trusted/dnssec.key-2016-07-30
+2-2share/keys/hbsd-update/trusted/Makefile
+0-3sys/netinet/in.h
+3-0ObsoleteFiles.inc
+0-1lib/libc/net/protocols
+23-236 files

HardenedBSD/src 7a31810 — contrib/wpa/src/ap ieee802_11.c, contrib/wpa/src/common proximity_ranging.c qca-vendor.h

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+6,124-33contrib/wpa/src/common/qca-vendor.h
+5,003-0contrib/wpa/wpa_supplicant/nan_supplicant.c
+3,381-671contrib/wpa/src/drivers/driver_nl80211.c
+3,106-664contrib/wpa/src/ap/ieee802_11.c
+3,677-0contrib/wpa/src/nan/nan.c
+2,707-0contrib/wpa/src/common/proximity_ranging.c
+23,998-1,368331 files not shown
+89,803-24,630337 files

LLVM/project 92fd0d4 — llvm/tools/llvm-readobj ELFDumper.cpp

[llvm-readobj][NFC] Move the 1-byte call graph info fields last

Group FormatVersionNumber and IsIndirectTarget at the end of
FunctionCallGraphInfo, after the 8-byte-aligned members.

Assisted-by: Gemini
DeltaFile
+2-2llvm/tools/llvm-readobj/ELFDumper.cpp
+2-21 files

HardenedBSD/src 68cfc16 — contrib/wpa/src/ap ieee802_11.c, contrib/wpa/src/common proximity_ranging.c qca-vendor.h

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+6,124-33contrib/wpa/src/common/qca-vendor.h
+5,003-0contrib/wpa/wpa_supplicant/nan_supplicant.c
+3,381-671contrib/wpa/src/drivers/driver_nl80211.c
+3,106-664contrib/wpa/src/ap/ieee802_11.c
+3,677-0contrib/wpa/src/nan/nan.c
+2,707-0contrib/wpa/src/common/proximity_ranging.c
+23,998-1,368331 files not shown
+89,803-24,630337 files