LLVM/project 3d7d2e9 — llvm/lib/Transforms/Vectorize VPlanTransforms.h LoopVectorize.cpp

[VPlan] Only hoist from blocks guaranteed to execute in licm (NFC). (#232512)

When hoisting, licm assumes that all top-level blocks of the vector loop
region execute on every iteration, which holds as long as the region is
linearized. Check it explicitly, by only hoisting from blocks that
dominate the region's exiting block.

Currently NFC, but preparation to run LICM before linearization and
support partially linearized CFG.

PR: https://github.com/llvm/llvm-project/pull/232512
DeltaFile
+12-12llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-1llvm/lib/Transforms/Vectorize/VPlanTransforms.h
+1-1llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+14-143 files

LLVM/project 25fc6f0 — llvm/test/Transforms/LoopVectorize/AArch64 gather-do-not-vectorize-addressing.ll sve2-histcnt.ll

[LV] Add test for miscompiles with histograms and scalarization. (#233135)

Add 2 additional tests for miscompile with stores to invariant addresses
and histograms and incorrectly scalarizing loads feeding a first-order
recurrence.

Also modernize check lines while touching the tests.
DeltaFile
+520-324llvm/test/Transforms/LoopVectorize/AArch64/sve2-histcnt.ll
+335-71llvm/test/Transforms/LoopVectorize/AArch64/gather-do-not-vectorize-addressing.ll
+855-3952 files

OpenBSD/src WTEmll2 — libexec/ld.so dlfcn.c, libexec/ld.so/ldd ldd.c

   ldd(1) has traditionally printed the command: header itself, before
   starting the program with LD_TRACE_LOADED_OBJECTS.  There are various
   circumstances where the program does not properly trace, so the output
   looks weird.  It is also different from the manual "env LD_TRACE_LOADED_OBJECTS="
   method.  This change makes ld.so print the command header itself.
   ok kettenis
VersionDeltaFile
1.118+4-3libexec/ld.so/dlfcn.c
1.29+1-3libexec/ld.so/ldd/ldd.c
+5-62 files

OpenBSD/src TYeXKNp — libexec/ld.so loader.c

   ld.so knows whether tracing is happening earlier, so the pledge
   "stdio rpath" can be moved upwards.
   ok kettenis
VersionDeltaFile
1.227+5-5libexec/ld.so/loader.c
+5-51 files

OpenBSD/src hyXyBFB — libexec/ld.so/ldd ldd.c

   using pledge execpromises here is pointless because ldd is just a wrapper
   around setenv LD_TRACE_LOADED_OBJECTS.  Because the setenv method is
   available to everyone, ld.so has to protect the process itself.
   ok kettenis
VersionDeltaFile
1.28+2-2libexec/ld.so/ldd/ldd.c
+2-21 files

NetBSD/pkgsrc-wip c1e69cb — InsightToolkit TODO

InsightToolkit: builds now, hdf5 problem fixed.
DeltaFile
+0-22InsightToolkit/TODO
+0-221 files

OpenBSD/src 41c0GSA — lib/libc/dlfcn init.c

   libc initialization now aborts if a setuid/setgid program does not
   have the global variable _permit_setugid declaring that it is setuid/setgid.
   The more important packages have been fixed, and the long tail will be
   fixed by people who encounter this problem.
   ok sthen
VersionDeltaFile
1.32+2-2lib/libc/dlfcn/init.c
+2-21 files

OpenBSD/src UqbOR8E — sys/arch/alpha/include _types.h

   sys/alpha: allign _STACKALIGNBYTES with GCC expectation

   tested by martijn@ and miod@

   OK: deraadt@
VersionDeltaFile
1.28+2-2sys/arch/alpha/include/_types.h
+2-21 files

FreeBSD/src 461da47 — sys/dev/iwm if_iwmvar.h if_iwm.c

iwm: mask closed_rb_num to the RX ring size

iwm_notif_intr() reads hw = le16toh(sc->rxq.stat->closed_rb_num) & 0xfff and
loops while (sc->rxq.cur != hw) without masking hw to the ring size (512 entries
for 9000-series MQ RX, 256 for legacy). If the hardware reports a value at or
above the ring size, cur never equals hw: the loop walks stale ring entries
indefinitely and the write-pointer update uses a bogus index. Linux iwlwifi
masks the value (5eae443eb5e2) and OpenBSD has done the same since 9000-series
support was added (3287dca4fa10).

This was found while debugging an iwm crash on another BSD using the same
driver lineage (DragonFly, upstream bug 3449)

Locally tested:

* 7260, 9260, STA mode

PR: kern/299427
Submitted by: David Bidner <david at crap.solutions>

    [2 lines not shown]
DeltaFile
+2-0sys/dev/iwm/if_iwm.c
+1-0sys/dev/iwm/if_iwmvar.h
+3-02 files

FreeBSD/src 176fd23 — sys/dev/iwm if_iwm.c

iwm: ensure NIC is alive during txq enable

I broke this in a previous commit.  OpenBSD already has the NIC
nailed alive but FreeBSD's codebase currently does not.

Locally tested:

* 7260, 9260, STA mode

Fixes: 0a12ff65b9647a6e31471e5d27a8692b4adb6803

Differential Revision:  https://reviews.freebsd.org/D60823
DeltaFile
+10-3sys/dev/iwm/if_iwm.c
+10-31 files

FreeBSD/src 37337c4 — sys/dev/iwm if_iwm.c

iwm: fix incorrect mutex / crash use during error detach path

My previous commit (b3ef4013a4) added a couple of lock assertions.
However, the detach assertion is wrong - if the driver hasn't
attached then detach needs to be a no-op and this includes
not touching a deinit'ed mutex.

So, move the mutex check and use until after the attached check.

This fixes the driver crash I saw when another bit of in-flight
work caused attach to fail, and thus iwm_detach() -> iwm_detach_local()
ended up trying to use a deinit'ed mutex, leading to a crash.

Fixes: b3ef4013a4fa75063930d0221a0bc50f95af0527

Differential Revision:  https://reviews.freebsd.org/D60821
DeltaFile
+8-4sys/dev/iwm/if_iwm.c
+8-41 files

LLVM/project fab00c4 — llvm/lib/Transforms/Utils LoopUtils.cpp, llvm/test/Transforms/LoopVectorize runtime-checks-hoist.ll

[LV] Don't emit duplicate negative stride runtime checks

This speeds up x264 by 2.15% on RISC-V by avoiding a duplicate hoisted runtime check.

When hoisting runtime checks we need to check that any strides are non negative. But for a loop like

```c
for (int i = 0; i < m; i++)
  for (int j = 0; j < n; j++)
    dst[(i * stride1) + j] = src1[(i * stride2) + j] + src2[(i * stride2) + j];
```

We have the pairs [dst, src1] and [dst, src2]. Both pairs end up checking that stride1 and stride2 are non-negative in IsConflict, and because there's other values between the two checks in the chain of ors InstCombine can't deduplicate it. This PR deduplicates the stride checks.

I'm aware some of this memory check stuff is being moved into VPlan but I'm not sure what the plan is with hoisted runtime checks, so it seemed better to just fix it here first.

This helps all targets but the motivating case is this loop in x264:

```c

    [82 lines not shown]
DeltaFile
+10-10llvm/test/Transforms/LoopVectorize/AArch64/low_trip_memcheck_cost.ll
+1-5llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
+3-2llvm/lib/Transforms/Utils/LoopUtils.cpp
+14-173 files

LLVM/project 4bd435d — mlir/include/mlir/ExecutionEngine ExecutionEngine.h, mlir/lib/ExecutionEngine ExecutionEngine.cpp JitRunner.cpp

[ExecutionEngine] Set mlir-runner's library options in the LLVMContext (#233131)

Since #233044, the LLVMContext that ExecutionEngine creates reads the
defaults instead, so LowerMatrixIntrinsics ignores
-matrix-default-layout=row-major and
Integration/Dialect/Vector/CPU/*-row.mlir fail.

Parse the options into a cl::LibraryOptionsContext and add
ExecutionEngineOptions::libraryOptions.
DeltaFile
+10-1mlir/lib/ExecutionEngine/JitRunner.cpp
+5-0mlir/lib/ExecutionEngine/ExecutionEngine.cpp
+3-0mlir/include/mlir/ExecutionEngine/ExecutionEngine.h
+18-13 files

NetBSD/pkgsrc-wip 9ecee89 — lean4 Makefile PLIST, lean4/patches patch-stage0_src_CMakeLists.txt patch-src_CMakeLists.txt

lean4: remove, used for updating pkgsrc
DeltaFile
+0-17,845lean4/PLIST
+0-132lean4/patches/patch-stage0_src_runtime_process.cpp
+0-132lean4/patches/patch-src_runtime_process.cpp
+0-112lean4/patches/patch-stage0_src_CMakeLists.txt
+0-112lean4/patches/patch-src_CMakeLists.txt
+0-65lean4/Makefile
+0-18,3987 files not shown
+2-18,48313 files

NetBSD/pkgsrc h0i9r3n — doc TODO CHANGES-2026

   doc: Updated math/lean4 to 4.35.0
VersionDeltaFile
1.28185+1-2doc/TODO
1.7061+2-1doc/CHANGES-2026
+3-32 files

NetBSD/pkgsrc lDi21R3 — math/lean4 Makefile distinfo, math/lean4/patches patch-stage0_src_CMakeLists.txt patch-src_CMakeLists.txt

   lean4: update to 4.35.0.

   The main new feature of Lean 4.35.0 is vcgen, a faster and more
   general successor of mvcgen. It also adds lake check and lake
   comparator, which check a project with Lean's kernel and, if
   requested, with several independent kernels that now come with the
   toolchain. On the tactic side, rwa has been redesigned, constructor
   now warns when it has to choose between constructors, and grind
   proves more goals about BitVec and fixed-width integers by translating
   them into Nat and Int arithmetic. Decidable has a new definition
   based on Bool, which makes many more equations hold by rfl.
VersionDeltaFile
1.4+621-441math/lean4/PLIST
1.3+93-6math/lean4/patches/patch-stage0_src_CMakeLists.txt
1.3+93-6math/lean4/patches/patch-src_CMakeLists.txt
1.10+6-6math/lean4/distinfo
1.12+2-2math/lean4/Makefile
+815-4615 files

NetBSD/pkgsrc-wip fd6a582 — lean4 TODO distinfo, lean4/patches patch-stage0_src_CMakeLists.txt patch-src_CMakeLists.txt

lean4: finish update by removing ExternalProjects
DeltaFile
+622-442lean4/PLIST
+87-0lean4/patches/patch-stage0_src_CMakeLists.txt
+87-0lean4/patches/patch-src_CMakeLists.txt
+2-2lean4/distinfo
+0-1lean4/TODO
+798-4455 files

FreeBSD/src 454e8ff — usr.sbin/sysrc sysrc

sysrc: Be quiet when changing values

Make it easier for the rc group to facilitate having an option to fully
boot muted (à la OmniOS) without resorting to /dev/null redirections.

Reviewed by:    imp, dteske
Differential Revision:  https://reviews.freebsd.org/D46120
DeltaFile
+14-10usr.sbin/sysrc/sysrc
+14-101 files

NetBSD/src iYbpL8h — sys/dev/fdt cpufreq_dt.c

   cpufreq_dt: communicate full voltage range to regulators

   In the last commit, fdtbus_regulator_set_voltage got changed to accept the voltage as a target, min, max triple from a min, max pair. This commit switched the cpufreq code over to sending the full voltage triple to regulators if it is available in the device tree.

   This fixes PR 60671
VersionDeltaFile
1.21+39-18sys/dev/fdt/cpufreq_dt.c
+39-181 files

LLVM/project 145a867 — llvm/lib/Transforms/Instrumentation SanitizerBinaryMetadata.cpp, llvm/test/Instrumentation/SanitizerBinaryMetadata argext.ll

[SanMD] Add extension on version argument. (#232890)

Co-authored with IBM Bob.
DeltaFile
+17-14llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp
+17-0llvm/test/Instrumentation/SanitizerBinaryMetadata/argext.ll
+34-142 files

NetBSD/src 933V6ZB — sys/dev/fdt fdt_regulator.h fdt_regulator.c

   fdtbus_regulator_set_voltage_triple: support target/min/max

   Some dt-bindings specify voltages as target/min/max, while the NetBSD fdt subsystem only supported min/max.

   This PR introduces fdtbus_regulator_set_voltage_triple that tries to set the voltage to an optimal value before falling back to the full range.

   See PR 60671
VersionDeltaFile
1.10+15-2sys/dev/fdt/fdt_regulator.c
1.2+3-1sys/dev/fdt/fdt_regulator.h
+18-32 files

LLVM/project 9c0e233 — llvm/include/llvm/IR Attributes.h, llvm/lib/Transforms/Instrumentation NumericalStabilitySanitizer.cpp

[NSan] Add extensions as needed on function declarations. (#232600)

Co-authored with IBM Bob.
DeltaFile
+29-8llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
+11-0llvm/test/Instrumentation/NumericalStabilitySanitizer/argext.ll
+9-0llvm/include/llvm/IR/Attributes.h
+49-83 files

FreeBSD/ports 9e3f193 — net/traefik distinfo Makefile

net/traefik: Update to upstream release 3.7.15

Details:
- Bug- and security fixes, see
  https://github.com/traefik/traefik/releases/tag/v3.7.15

MFH:            2026Q4
Security:       https://github.com/traefik/traefik/security/advisories/GHSA-p8wx-ph99-xgcr
                https://github.com/traefik/traefik/security/advisories/GHSA-ww7c-q3mv-xx22
                https://github.com/traefik/traefik/security/advisories/GHSA-28hp-c82p-8vqj
DeltaFile
+3-2net/traefik/Makefile
+3-1net/traefik/distinfo
+6-32 files

LLVM/project 2fd4e5c — llvm/include/llvm/Analysis ScalarEvolution.h, llvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Don't re-check already predicates of a SCEVUnionPredicate (NFC) (#232966)

SCEVUnionPredicate's construct adds predicates one-by-one to the union
and tries to remove duplicated predicates, which can be quite expensive
(checking implications between all pairs of predicates).

Using assignment/copy ctor instead when copying avoids the unnecessary
checks and$ improves compile-time in workloads with many predicates:

tramp3d-v4 stage1/2 O3 around -0.20%


https://llvm-compile-time-tracker.com/compare.php?from=60d847e7e7c1cbd6e185ce7f7802dad2f9504523&to=38b7c1fb51a8fe804f585c11233178f815dcda6d&stat=instructions:u

Aided by Opus 5.5

PR: https://github.com/llvm/llvm-project/pull/232966
DeltaFile
+2-5llvm/lib/Analysis/ScalarEvolution.cpp
+1-1llvm/include/llvm/Analysis/ScalarEvolution.h
+3-62 files

LLVM/project 50395a3 — llvm/test/Transforms/LoopVectorize runtime-checks-hoist.ll

[LV] Add test duplicate negative stride checks in hoisted runtime checks. NFC (#233130)

In this test we have [dst, src1], [dst, src2] as pointer pairs, and for
hoisted
runtime checks both pairs need to check that stride1 and stride2 are
non-negative. But we end up emitting duplicate `icmp slt i64
stride{1,2}, 0`
checks across the two pairs when we only need to check them once.

Extracted from pixel_avg in x264.
DeltaFile
+166-0llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
+166-01 files

NetBSD/pkgsrc KdzN35n — doc CHANGES-2026

   Added math/HiGHS version 1.15.1.
VersionDeltaFile
1.7060+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc LXywp23 — math Makefile

   Add HiGHS.
VersionDeltaFile
1.651+2-1math/Makefile
+2-11 files

NetBSD/pkgsrc sg7Ek7D — math/HiGHS DESCR distinfo, math/HiGHS/patches patch-extern_zstr_strict__fstream.hpp

   Import math/HiGHS from wip, update to version 1.15.1.

   HiGHS is a high performance serial and parallel solver for large
   scale sparse linear programming (LP) problems of the form:

   Minimize c^Tx subject to L <= Ax <= U; l <= x <= u
VersionDeltaFile
1.1+295-0math/HiGHS/PLIST
1.1+23-0math/HiGHS/Makefile
1.1+15-0math/HiGHS/patches/patch-extern_zstr_strict__fstream.hpp
1.1+12-0math/HiGHS/buildlink3.mk
1.1+6-0math/HiGHS/distinfo
1.1+4-0math/HiGHS/DESCR
+355-06 files

LLVM/project eb5c3a2 — llvm/include/llvm/Option LibraryOptions.h, llvm/include/llvm/Support CommandLine.h LibraryOptionsContext.h

[Support] Remove the T::Global fallback in LibraryOptionsContext::get<T>() (#233044)

A context's values for T start as a copy of T::Global, which
cl::ParseCommandLineOptions sets, and get<T>() returns T::Global for a
context without values for T. Use a new constant T::Default instead, so
a tool must parse library options with
`cl::parseCommandLineOptions(LibraryOptionsContext &, ...)`.

LLM-aided
DeltaFile
+4-9llvm/include/llvm/Support/LibraryOptionsContext.h
+6-3llvm/include/llvm/Support/CommandLine.h
+5-2llvm/include/llvm/Option/LibraryOptions.h
+4-1llvm/utils/TableGen/Basic/OptionParserEmitter.cpp
+2-2llvm/lib/Support/CommandLine.cpp
+2-1llvm/unittests/Support/CommandLineTest.cpp
+23-182 files not shown
+25-228 files

FreeBSD/ports 1545e04 — cad/netgen Makefile distinfo

cad/netgen: Update 6.2.2607 => 6.2.2608
DeltaFile
+4-13cad/netgen/pkg-plist
+3-3cad/netgen/distinfo
+2-2cad/netgen/Makefile
+9-183 files