LLVM/project a7ab057 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AMDGPU alt-fmul-fadd-cost.ll

[SLP] Partially revert #224931 for alternate nodes

Do not pass scalar context to alternate node vector cost queries.

PR #224931 passes the scalar main/alternate op as the context instruction when
costing the vector ops of an alternate node. Those vector ops only feed the
lane-select shuffle, so use-based discounts derived from the scalar's users
do not apply. On AMDGPU this priced an [fmul | fadd] node's vector fmul as
fused (free) where the sole user of the scalar fmul is fadd/fsub, keeping
unprofitable subtrees vectorized. In a rocFFT kernel on gfx950 this raised
VGPR usage from 160 to 178 and caused a performance regression. Restore the
null context for these queries.
DeltaFile
+76-0llvm/test/Transforms/SLPVectorizer/AMDGPU/alt-fmul-fadd-cost.ll
+3-4llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+79-42 files

FreeBSD/ports 4f2c1d1 — shells/carapace Makefile distinfo

shells/carapace: Update to 1.8.0

Changelog: https://github.com/carapace-sh/carapace-bin/releases/tag/v1.8.0

Reported by:    GitHub (watch releases)
DeltaFile
+5-5shells/carapace/distinfo
+1-2shells/carapace/Makefile
+6-72 files

LLVM/project 0015ba5 — libc/test/UnitTest CMakeLists.txt ExecuteFunctionUnix.cpp, libc/test/src/math/smoke SubTest.h MulTest.h

[libc][test] Fix death test timeouts and dead-code elimination in math tests. (#227966)

- In `ExecuteFunctionUnix.cpp`, call `prctl(PR_SET_DUMPABLE, 0)` in
child processes to prevent external core dump handlers (such as apport)
from intercepting expected crashes during death tests, eliminating 10s
poll timeouts under parallel lit runs.
- Close `pipe_fds[0]` properly in `invoke_in_subprocess` to avoid
leaking file descriptors.
- In math smoke test templates (`AddTest.h`, `SubTest.h`, `MulTest.h`,
`DivTest.h`), assign test function results to `[[maybe_unused]] volatile
OutType res` to prevent GCC from dead-code eliminating floating point
operations in `test_inexact_results` when FMA optimization is disabled.

Assisted-by: Gemini
DeltaFile
+19-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+13-0libc/test/UnitTest/ExecuteFunctionUnix.cpp
+6-0utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
+6-0libc/test/UnitTest/CMakeLists.txt
+1-1libc/test/src/math/smoke/SubTest.h
+1-1libc/test/src/math/smoke/MulTest.h
+46-22 files not shown
+48-48 files

LLVM/project f475f08 — llvm/lib/Target/RISCV RISCVISelLowering.cpp

[RISCV][P-ext] Combine repeated code. NFC (#228163)

The body of these 2 if statements are identical and the if conditions
are equivalent to checking if the VT is XLenVT.
DeltaFile
+1-6llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+1-61 files

LLVM/project a58d667 — llvm/lib/Target/NVPTX NVPTXLowerArgs.cpp, llvm/test/CodeGen/NVPTX lower-byval-args-icmp.ll

[NVPTX] Conservatively bail on unhandled byval pointer uses (#228439)
DeltaFile
+78-0llvm/test/CodeGen/NVPTX/lower-byval-args-icmp.ll
+6-0llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
+84-02 files

LLVM/project 5a3a399 — llvm/lib/Analysis LoopCacheAnalysis.cpp, llvm/test/Analysis/LoopCacheAnalysis nestedloop-cost.ll

[LoopCacheAnalysis] Guard against bit-width overflow in computeRefCost (#224427)

In `computeRefCost()`, the non-consecutive access path estimates the
cache cost by multiplying the trip counts across outer loop dimensions.
Each multiplication ends up calling `getExtendedType()` to obtain an
integer type twice as wide as the current one.

For a deeply-nested loop (such as the 20-dimensional array found in this
change), it is possible for the doubling to exceed `MAX_INT_BITS`, which
triggers the following assert in `IntegerType::get()`.
```
Assertion failed: NumBits <= MAX_INT_BITS && "bitwidth too large", file llvm-project/llvm/lib/IR/Type.cpp, line 340, static IntegerType *llvm::IntegerType::get(LLVMContext &, unsigned int)()
```

This change checks whether the current integer width already exceeds
`MAX_INT_BITS / 2`. If this is true, the doubled width would overflow,
so we return `CacheCostTy::getInvalid()` instead of asserting.
DeltaFile
+189-0llvm/test/Analysis/LoopCacheAnalysis/nestedloop-cost.ll
+5-1llvm/lib/Analysis/LoopCacheAnalysis.cpp
+194-12 files

LLVM/project a72683f — libc/hdr CMakeLists.txt poll_overlay.h, libc/hdr/types struct_sockaddr_storage.h CMakeLists.txt

[libc][hdr] Add poll and socket overlay headers for GCC overlay builds. (#227961)

When building LLVM libc in overlay mode with gcc/g++, alias and macro
redirections in GNU libc headers (such as ppoll and socket functions)
cause conflict with libc header declarations.

Fixes in this PR:
- Add `poll_overlay.h` and `sys_socket_overlay.h` to wrap system headers
before libc macros and type declarations in overlay mode.
- Update proxy headers in `libc/hdr/` and `libc/hdr/types/`.
- Update CMake and Bazel build files accordingly.

Assisted-by: Gemini
DeltaFile
+69-0libc/hdr/poll_overlay.h
+69-0libc/hdr/sys_socket_overlay.h
+58-6utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+20-0libc/hdr/types/CMakeLists.txt
+6-0libc/hdr/CMakeLists.txt
+1-1libc/hdr/types/struct_sockaddr_storage.h
+223-711 files not shown
+234-1817 files

LLVM/project 9a891df — libc CMakeLists.txt, libc/src/__support/printf_core CMakeLists.txt

[libc][cmake] Suppress -Wpsabi note on GCC and clean up resource-dir check. (#227968)

- Add `-Wno-psabi` to GCC compile options to suppress ABI change notes
for 80-bit long double unions.
- Pass `ERROR_QUIET` to clang-specific `--print-resource-dir` query in
`libc/CMakeLists.txt` so it does not output errors on GCC and MSVC.

Assisted-by: Gemini
DeltaFile
+76-35libc/CMakeLists.txt
+10-0libc/src/__support/printf_core/CMakeLists.txt
+86-352 files

OpenBSD/src hfDfkLh — usr.sbin/vmd x86_vm.c

   vmd(8): fix mmio exit issue on old SVM machines

   fix a problem where we didn't pass any instruction length to insn_decode
   on some older opterons that don't have SVM decode assist.

   ok dv
VersionDeltaFile
1.28+2-1usr.sbin/vmd/x86_vm.c
+2-11 files

LLVM/project cc91bfe — llvm/lib/ObjCopy/ELF ELFObject.cpp ELFObject.h, llvm/test/tools/llvm-objcopy/ELF reloc-no-symtab.test reloc-alloc-symtab.test

Reland "[llvm-objcopy] Handle SHF_ALLOC relocation sections in relocatable files" (#228654)

This relands #227204, reverted by #228572 due to a UBSan failure in
compress-sections.s:

```
ELFObject.h:887:35: runtime error: load of value 190, which is not a valid value for type 'const bool'
```

--compress-sections on a relocation section creates a CompressedSection
that incorrectly keeps OriginalType SHT_RELA, so
RelocationSection::classof cast it and read
RelocationSectionBase::Dynamic. Set its OriginalType to SHT_PROGBITS,
which also fixes a TODO in Object::removeSections

Original description:

llvm-objcopy treats every SHF_ALLOC relocation section as dynamic and
requires its sh_link to refer to .dynsym. Linux livepatch modules

    [14 lines not shown]
DeltaFile
+42-0llvm/test/tools/llvm-objcopy/ELF/reloc-alloc-symtab.test
+13-7llvm/lib/ObjCopy/ELF/ELFObject.h
+6-5llvm/lib/ObjCopy/ELF/ELFObject.cpp
+6-1llvm/test/tools/llvm-objcopy/ELF/reloc-no-symtab.test
+67-134 files

LLVM/project 3b0962f — lldb/test/Shell/Expr TestObjCInCXXContext.test TestEnumExtensibility.m

[LLDB] Mark some objective-C and ClangModule test as darwin only

This makes easier to fix FreeBSD
DeltaFile
+1-3lldb/test/Shell/Expr/TestClangModulesDeclLookup.test
+1-1lldb/test/Shell/Expr/TestObjCInCXXContext.test
+1-1lldb/test/Shell/Expr/TestEnumExtensibility.m
+3-53 files

NetBSD/pkgsrc N8OCAFa — doc CHANGES-2026

   doc: Updated audio/fasttracker2 to 2.25
VersionDeltaFile
1.6600+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc l1FEdED — audio/fasttracker2 Makefile distinfo

   audio/fasttracker2: Update to 2.25

   Changes since 2.24:

   v2.25 - 02.10.2026
     * Further sinc interpolation improvements
     * Re-added 3-point quadratic spline interpolation (why not)
     * Small tweak to the tracker scope interpolation (in
       quadratic/cubic/sinc mode)
VersionDeltaFile
1.139+4-4audio/fasttracker2/distinfo
1.159+2-3audio/fasttracker2/Makefile
+6-72 files

FreeBSD/ports 25ea1e8 — devel/electron44/files patch-electron_spec_api-browser-window-spec.ts patch-electron_spec_api-app-spec.ts, devel/electron44/files/packagejsons yarn.lock

devel/electron44: Update to 44.5.1

Changelog:
- https://github.com/electron/electron/releases/tag/v44.4.4
- https://github.com/electron/electron/releases/tag/v44.4.5
- https://github.com/electron/electron/releases/tag/v44.5.0
- https://github.com/electron/electron/releases/tag/v44.5.1

Reported by:    GitHub (watch releases)
DeltaFile
+738-2,066devel/electron44/files/packagejsons/yarn.lock
+1,000-0devel/electron44/files/packagejsons/.yarn/releases/yarn-4.18.0.cjs
+0-942devel/electron44/files/packagejsons/.yarn/releases/yarn-4.12.0.cjs
+205-0devel/electron44/files/patch-electron_spec_api-app.spec.ts
+0-196devel/electron44/files/patch-electron_spec_api-app-spec.ts
+0-173devel/electron44/files/patch-electron_spec_api-browser-window-spec.ts
+1,943-3,37796 files not shown
+2,925-4,163102 files

LLVM/project 2592456 — llvm/utils/gn/secondary/clang/lib/CodeGenUtils BUILD.gn

[gn build] Port e95c8f57cc18 (#228646)
DeltaFile
+1-0llvm/utils/gn/secondary/clang/lib/CodeGenUtils/BUILD.gn
+1-01 files

LLVM/project 6f2ee3d — lldb/unittests CMakeLists.txt

[LLDB] Exclude exposed exe symbols from tests

Same as what we have for normal lldb installation. A executable may
creates a copy of a symbol if it links to the archive. Exclude archive
symbols out from the exe itself.
DeltaFile
+4-0lldb/unittests/CMakeLists.txt
+4-01 files

LLVM/project 8ca6836 — flang/docs FlangDriver.md, flang/examples CMakeLists.txt

[flang] Add an example plugin exercising the HLFIR pipeline extension points

The HLFIR extension points, the pipeline config callback registry and fir-opt's
symbol export all exist to let an out-of-tree MLIR pass run while the HLFIR
intrinsic operations (hlfir.sum, hlfir.matmul, ...) are still present. None of
that was covered end to end, and nothing showed how to use it.

Add flang/examples/HLFIRPipelinePlugin, modelled on PrintFlangFunctionNames. It
contributes a pass that prints the HLFIR operations still present in the module,
tagged with the pipeline position it was inserted at, and exposes it through
both plugin entry points: a static initializer calling
fir::registerPassPipelineConfigCallback for the `flang -fc1 -load` path, and
mlirGetPassPluginInfo so fir-opt can load it with --load-pass-plugin.

Nothing is linked into the shared object; MLIR, FIR and flang symbols resolve
against the host tool, which is what export_executable_symbols_for_plugins on
flang and fir-opt provides.

Two tests use it. Examples/hlfir-pipeline-plugin.f90 covers -emit-fir and

    [7 lines not shown]
DeltaFile
+111-0flang/examples/HLFIRPipelinePlugin/HLFIRPipelinePlugin.cpp
+51-0flang/test/Examples/hlfir-pipeline-plugin.f90
+34-0flang/test/Examples/fir-opt-pass-plugin.fir
+17-0flang/docs/FlangDriver.md
+15-0flang/examples/HLFIRPipelinePlugin/CMakeLists.txt
+1-0flang/examples/CMakeLists.txt
+229-01 files not shown
+230-07 files

LLVM/project bf3dbd3 — flang/examples/HLFIRPipelinePlugin HLFIRPipelinePlugin.cpp, flang/test/Examples fir-opt-pass-plugin.fir hlfir-pipeline-plugin.f90

[flang] Address review comments on the HLFIR pipeline example plugin

- Rename the pass to print-hlfir-ops: it prints every hlfir op, not only the
  intrinsics.
- Drop the redundant option copy in the copy constructor; Pass::clone copies
  option values.
- Tests: drop the no-plugin run, which could not fail, and at -O2 only check
  that both extension points are reached rather than what
  SimplifyHLFIRIntrinsics chose to expand.

Assisted-by: Claude Code (Opus 5.5)
DeltaFile
+18-23flang/examples/HLFIRPipelinePlugin/HLFIRPipelinePlugin.cpp
+1-11flang/test/Examples/hlfir-pipeline-plugin.f90
+2-2flang/test/Examples/fir-opt-pass-plugin.fir
+21-363 files

FreeNAS/freenas f827e9d — src/middlewared/middlewared/api/v28_0_0 zfs_resource_crud.py, src/middlewared/middlewared/plugins/pool_ dataset.py

NAS-144081 / 28.0.0-BETA.1 / Make zfs.resource the dataset API and shim pool.dataset over it (#19881)

## Problem
`zfs.resource` is meant to replace `pool.dataset`, but it could only
create, list and destroy: it had no way to change properties, rename and
promote were private, the choices, zvol blocksize, processes and
attachments methods lived only under `pool.dataset`, and none of its
mutating methods were audited or emitted events. The policy that makes a
dataset change safe (ACL coupling, the 80% reservation headroom check,
blocksize and recordsize rules, dedup licensing and tiering, the SMB
acltype guard, snapdev guards, LUN resyncs, attachment teardown on
delete) was implemented only inside `pool.dataset`, so the two write
paths could drift and retiring `pool.dataset` would have lost all of it.
Along the way a few existing bugs turned up: `pool.snapshot.rename`
failed on every call, `pool.snapshot.create/clone/hold/release` surfaced
raw tracebacks instead of validation errors, and the locked-path check
crashed on snapshot-backed zvol paths.

## Solution

    [135 lines not shown]
DeltaFile
+229-764src/middlewared/middlewared/plugins/pool_/dataset.py
+519-117src/middlewared/middlewared/plugins/zfs/resource.py
+444-54src/middlewared/middlewared/api/v28_0_0/zfs_resource_crud.py
+443-0src/middlewared/middlewared/plugins/zfs/set_rules.py
+148-273src/middlewared/middlewared/plugins/zfs/create_rules.py
+416-0tests/api2/test_zfs_resource_set.py
+2,199-1,208176 files not shown
+6,659-3,247182 files

LLVM/project ba0e451 — compiler-rt/lib/tsan/rtl tsan_rtl.h tsan_defs.h

[NFC][TSan] Remove redundant Context::report_mtx

Context::report_mtx was only ever acquired immediately alongside
ScopedErrorReportLock (in ScopedReport and BackgroundThread). Remove
report_mtx and MutexTypeReport and rely on ScopedErrorReportLock.

Assisted-by: Gemini

Pull Request: https://github.com/llvm/llvm-project/pull/228605
DeltaFile
+5-10compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
+1-5compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
+1-2compiler-rt/lib/tsan/rtl/tsan_defs.h
+0-1compiler-rt/lib/tsan/rtl/tsan_rtl.h
+7-184 files

FreeBSD/ports 6113fbc — www/mediawiki143 Makefile distinfo

www/mediawiki143: Update to 1.43.10

(cherry picked from commit a4889c7953cf6834940f1bf21ef58634330eb301)
DeltaFile
+3-3www/mediawiki143/distinfo
+1-1www/mediawiki143/Makefile
+4-42 files

FreeBSD/ports 48273df — www/mediawiki145 Makefile distinfo

www/mediawiki145: Update to 1.45.5

(cherry picked from commit b590666cff783348cd6f4cabfd4382c493e216b6)
DeltaFile
+3-3www/mediawiki145/distinfo
+1-1www/mediawiki145/Makefile
+4-42 files

FreeBSD/ports c5a49ef — www/mediawiki146 Makefile distinfo

www/mediawiki146: Update to 1.46.1

(cherry picked from commit ff24a3b35f8e551b479c7161fd53b8121100152d)
DeltaFile
+3-3www/mediawiki146/distinfo
+2-3www/mediawiki146/Makefile
+5-62 files

LLVM/project d45ee87 — orc-rt/test/unit/bedrock/sps SimpleRemoteCAOverSocketTest.cpp

[orc-rt] Use the Error matchers in SimpleRemoteCAOverSocketTest (#228642)

Use the Error matchers introduced in 4c8a437d0487 to clean up error
checks in SimpleRemoteCAOverSocketTest.
DeltaFile
+110-84orc-rt/test/unit/bedrock/sps/SimpleRemoteCAOverSocketTest.cpp
+110-841 files

FreeBSD/ports 0af2699 — lang/python315 Makefile Makefile.version

lang/python315: Update to 3.15.0rc3
DeltaFile
+108-0lang/python315/pkg-plist
+3-3lang/python315/distinfo
+1-1lang/python315/Makefile.version
+0-1lang/python315/Makefile
+112-54 files

LLVM/project e7f8da8 — compiler-rt/lib/tsan/rtl tsan_interceptors_posix.cpp tsan_rtl.cpp, compiler-rt/test/tsan signal_abort_on_error.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+45-60compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
+23-54compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
+41-0compiler-rt/test/tsan/signal_abort_on_error.cpp
+8-18compiler-rt/lib/tsan/rtl/tsan_rtl.h
+10-15compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
+7-17compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
+134-1645 files not shown
+153-21511 files

LLVM/project 37791d3 — compiler-rt/lib/tsan/rtl tsan_interceptors_posix.cpp tsan_rtl.cpp, compiler-rt/test/tsan signal_abort_on_error.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+45-60compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
+35-61compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
+41-0compiler-rt/test/tsan/signal_abort_on_error.cpp
+8-18compiler-rt/lib/tsan/rtl/tsan_rtl.h
+10-15compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
+7-17compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
+146-1715 files not shown
+165-22211 files

LLVM/project 0de9d9a — mlir/lib/Dialect/Arith/IR ArithOps.cpp, mlir/test/Dialect/Arith canonicalize.mlir

[MLIR][arith] Fold or(a, or(a, b)) to or(a, b) (#228386)

`arith.andi` already folds `and(a, and(a, b))` to `and(a, b)`, but
`arith.ori` doesn't perform the equivalent fold, so using canonicalize
misses this opportunity.

Generalize the existing helper and use it for both ops.

Co-authored-by: Matthias Springer <me at m-sp.org>
DeltaFile
+54-0mlir/test/Dialect/Arith/canonicalize.mlir
+10-4mlir/lib/Dialect/Arith/IR/ArithOps.cpp
+64-42 files

LLVM/project e141a4b — llvm/utils/gn/secondary/llvm/include/llvm/Config config.gni, llvm/utils/gn/secondary/llvm/test BUILD.gn

[gn] port 82290a03b3cc a bit (CASPluginTest) (#228639)

Also disable llvm_enable_ondisk_cas for a bit until I can figure out how
to fix

    dlopen(..../out/gn/lib/CASPluginTest.dylib, 0x0009):
        symbol not found in flat namespace '__ZN4llvm4SHA15finalEv'

when running llvm/test/tools/llvm-cas lit tests. (The unit test passes.)
DeltaFile
+2-23llvm/utils/gn/secondary/llvm/test/BUILD.gn
+22-0llvm/utils/gn/secondary/llvm/unittests/CAS/CASPluginTest/BUILD.gn
+0-21llvm/utils/gn/secondary/llvm/tools/libCASPluginTest/BUILD.gn
+20-1llvm/utils/gn/secondary/llvm/unittests/CAS/BUILD.gn
+8-0llvm/utils/gn/secondary/llvm/tools/llvm-cas/BUILD.gn
+1-1llvm/utils/gn/secondary/llvm/include/llvm/Config/config.gni
+53-466 files

LLVM/project 140425b — flang/docs FlangDriver.md, flang/include/flang/Optimizer/Passes Pipelines.h

[flang] Add a MLIRToLLVMPassPipeline callbacks for plugins (#212195)

Expose the extension points of the HLFIR-to-FIR pass pipeline exposes extension points to plugins.

Follow-up to #212194

Assisted-by: Claude Code (Opus 5, Opus 5.5)
DeltaFile
+74-1flang/unittests/Optimizer/HLFIRExtensionPointsTest.cpp
+34-0flang/docs/FlangDriver.md
+16-0flang/lib/Optimizer/Passes/Pipelines.cpp
+16-0flang/include/flang/Optimizer/Passes/Pipelines.h
+6-0flang/lib/Frontend/FrontendActions.cpp
+146-15 files