LLVM/project 442f50c — flang/lib/Optimizer/Transforms AddDebugInfo.cpp, flang/test/Integration debug-associate-shadow.f90 debug-reassociated-name.f90

[flang][debug] Scope re-associated names per construct branch. (#239668)

Fixes https://github.com/llvm/llvm-project/issues/159596

SELECT RANK and SELECT TYPE associate the selector with a different
entity in each of their branches, so a procedure holding one ends up
with several declarations of the same name, differing in type. They were
all attributed to the procedure, leaving a debugger to answer for that
name with whichever declaration it found first, which is right in at
most one branch:

  select rank(x)              ! x is integer(..)
    rank(2) ; y = rank(x)     ! `ptype x` said rank 1, `print x` agreed

Each branch starts a block of its own, so give that block a lexical
block and put the declaration of the branch in it. The lexical block
covers the blocks this one dominates, so it holds all the code of the
branch even when that spans several blocks, and the lexical block of a
construct nested in the branch nests in it.

    [21 lines not shown]
DeltaFile
+299-0flang/test/Transforms/debug-reassociated-name.fir
+169-0flang/test/Transforms/debug-reassociated-name-omp.fir
+151-2flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
+127-0flang/test/Lower/debug-lexical-scope.f90
+105-0flang/test/Integration/debug-reassociated-name.f90
+41-0flang/test/Integration/debug-associate-shadow.f90
+892-25 files not shown
+964-711 files

LLVM/project 48c254b — llvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize/VPlan vplan-print-before-after-all.ll

[LV] Move createInterleaveGroups before removeBranchOnConst. nfc (#243789)

This is split off from #213904 to prepare for deciding scalar epilogue
requirement based on which interleave groups are actually widened.
DeltaFile
+6-6llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+1-1llvm/test/Transforms/LoopVectorize/VPlan/vplan-print-before-after-all.ll
+7-72 files

LLVM/project d81c378 — mlir/include/mlir/Dialect/SCF/Utils Utils.h, mlir/lib/Dialect/SCF/Utils Utils.cpp

[mlir][SCF] Preserve reductions in collapseParallelLoops (#244260)

collapseParallelLoops dropped the original scf.reduce and erased the
loop, so a parallel loop with reductions could not be collapsed and the
caller had no operation on which to set discardable attributes. Pass the
original init values through, keep the original scf.reduce with the
body, replace the old loop through the rewriter, and return the
collapsed loop.
DeltaFile
+78-0mlir/test/Transforms/single-parallel-loop-collapsing.mlir
+15-13mlir/lib/Dialect/SCF/Utils/Utils.cpp
+6-4mlir/include/mlir/Dialect/SCF/Utils/Utils.h
+99-173 files

LLVM/project 35aac77 — llvm/lib/Target/AMDGPU AMDGPUCodeGenPrepare.cpp, llvm/test/CodeGen/AMDGPU amdgpu-codegenprepare-fmul-legacy.ll

Remove worklist
DeltaFile
+29-52llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
+2-6llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fmul-legacy.ll
+31-582 files

LLVM/project 06a9313 — llvm/lib/Target/AMDGPU AMDGPUCodeGenPrepare.cpp, llvm/test/CodeGen/AMDGPU amdgpu-codegenprepare-fmul-legacy.ll

[AMDGPU] Fold fmul with zero checks to fmul.legacy

Recognize f32 multiplication with zero checks in AMDGPUCodeGenPrepare,
including fabs/fneg wrappers.

Example:
```
  (x == 0 || y == 0) ? +0.0 : x * y
==>
  llvm.amdgcn.fmul.legacy(x, y)
```
DeltaFile
+19-95llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fmul-legacy.ll
+77-0llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
+96-952 files

LLVM/project 7c4823d — llvm/lib/Target/AMDGPU AMDGPUCodeGenPrepare.cpp, llvm/test/CodeGen/AMDGPU amdgpu-codegenprepare-fmul-legacy.ll

Update for comments
DeltaFile
+28-21llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
+1-6llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fmul-legacy.ll
+29-272 files

LLVM/project bbee3d8 — llvm/test/CodeGen/AMDGPU amdgpu-codegenprepare-fmul-legacy.ll

[AMDGPU] Add fmul.legacy select fold tests. NFC (#229356)

Add AMDGPUCodeGenPrepare tests for folding a select guarded by zero
checks into llvm.amdgcn.fmul.legacy, including negative tests and min
cases for future work.

Assisted-by: Claude Opus 5.5
DeltaFile
+1,047-0llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fmul-legacy.ll
+1,047-01 files

LLVM/project 4683c4f — clang/lib/StaticAnalyzer/Core ProgramState.cpp

[analyzer] Remove GDM entries instead of storing null (#244845)

ProgramStateManager::addGDM stored {Key: nullptr} when a trait became
empty, e.g. after removing the last element of a map/set, or after
setting a scalar or pointer trait to 0/nullptr (ExprEngine does this
with LastEagerlyAssumeExprIfSuccessful on every eager assume). Every
trait reads a null entry the same way as an absent one, so these states
had identical contents but a different GDM, and were uniqued as distinct
ProgramStates. Paths that should have merged in the ExplodedGraph did
not.

Remove the key when the new value is null, so that "absent" and "empty"
have one canonical representation.

On some LLVM TUs (GVN, LiveVariables, RegionStore) the analyzer now
executes 0.8-4.2% fewer steps and explores 3-24% fewer paths. On those
TUs and SemaExpr this reduces the instructions of the static analyzer by
0.8-2.6% and the cycles by 1.4-3.1%. Peak memory is unchanged except
LiveVariables (-4.8%). The diagnostics are unchanged.

    [3 lines not shown]
DeltaFile
+5-0clang/lib/StaticAnalyzer/Core/ProgramState.cpp
+5-01 files

LLVM/project 27b195d — clang/lib/StaticAnalyzer/Core RangeConstraintManager.cpp RegionStore.cpp, llvm/include/llvm/ADT ImmutableMap.h ImmutableSet.h

[analyzer][ADT] Filter the Environment instead of rebuilding it (#244771)

EnvironmentManager::removeDeadBindings rebuilt the Environment by adding
each live binding to an empty map. This allocated a whole new tree on
every call, and made the canonicalization hash and compare it in full.

Add ImmutableMap::Factory::filter, which keeps the subtrees whose
entries all survive and rebuilds only the paths to removed entries. Like
add and remove, it canonicalizes only the result root. Use it to remove
the dead bindings.

On some LLVM TUs this reduces the instructions of the static analyzer
by 8-13%, the cycles by 5-10%, and the peak memory by 7-15%. 

Assisted-by: Claude Opus 5.5

---------

Co-authored-by: Gabor Horvath <gaborh at apple.com>
DeltaFile
+74-0llvm/unittests/ADT/ImmutableMapTest.cpp
+11-29clang/lib/StaticAnalyzer/Core/Environment.cpp
+25-0llvm/include/llvm/ADT/ImmutableSet.h
+17-0llvm/include/llvm/ADT/ImmutableMap.h
+8-6clang/lib/StaticAnalyzer/Core/RegionStore.cpp
+3-8clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
+138-436 files

LLVM/project a1feba6 — clang/lib/StaticAnalyzer/Core RangeConstraintManager.cpp

[analyzer] Drop the unused FoldingSetNode base of EquivalenceClass (#244866)

EquivalenceClass derived from FoldingSetNode but was never put in a
FoldingSet; its Profile method is all ImmutableMap/Set need. Drop the
base. This shrinks it from 16 to 8 bytes on 64-bit targets, and the
ClassMap, ClassMembers, ConstraintRange and DisequalityMap nodes from 80
to 72 bytes and the ClassSet nodes from 72 to 64 bytes.

Assisted-by: Claude Opus 5.5

Co-authored-by: Gabor Horvath <gaborh at apple.com>
DeltaFile
+1-1clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
+1-11 files

NetBSD/pkgsrc-wip daefa4f — cq-cli Makefile go-modules.mk

cq-cli: update to 0.20.1

cli/v0.20.1

* build: re-pin the Go postgres adapter to the published SDK v0.18.0
* fix(sdk/go): reject a sqlite store URL that carries a host
* fix(sdk/python)!: resolve a sqlite store URL through its components
* fix(sdk): point the own-knowledge calls at the agent surface
* build: re-pin the CLI and the Go postgres adapter to the published SDK

cli/v0.20.0

* fix(ci): replace existing assets when the CLI release upload re-runs
* build: require cq-sdk 0.21.2
* fix(sdk/go): keep the drive letter in a sqlite store URL on Windows
* test(server): cover the schema free-text ceilings at the propose boundary
* fix(mcp): state the propose field limits in the tool description
* feat: add list for an agent's own knowledge units
* build: re-pin the CLI to the published Go SDK v0.18.0

    [37 lines not shown]
DeltaFile
+15-15cq-cli/distinfo
+4-4cq-cli/go-modules.mk
+1-1cq-cli/Makefile
+20-203 files

OPNSense/core 6293084 — . plist, src/opnsense/mvc/app/models/OPNsense/Monit Monit.xml Monit.php

monit: fix 6.1 incompatibilities and substitute depreciations (#11285)
DeltaFile
+71-0src/opnsense/mvc/app/models/OPNsense/Monit/Monit.php
+70-0src/opnsense/mvc/app/models/OPNsense/Monit/Migrations/M1_0_15.php
+6-6src/opnsense/mvc/app/models/OPNsense/Monit/Monit.xml
+1-1src/opnsense/mvc/app/models/OPNsense/Monit/Migrations/M1_0_0.php
+1-0plist
+149-75 files

LLVM/project 02d22bd — libcxxabi/src private_typeinfo.h private_typeinfo.cpp

[libc++abi] Merge dst_type_might_be_derived_from_static_type into path_dst_ptr_to_static_ptr
DeltaFile
+17-32libcxxabi/src/private_typeinfo.cpp
+1-1libcxxabi/src/private_typeinfo.h
+18-332 files

LLVM/project d4afdc5 — lldb/source/Plugins/SymbolFile/NativePDB PdbAstBuilderClang.cpp, lldb/test/Shell/SymbolFile/NativePDB local-enum.cpp

[lldb][NativePDB] Don't turn function-local enums into scoped enums (#244640)

CodeView can't tell a scoped enum from an unscoped enum.

`EnumRecord::isScoped()` was the wrong check: it does not say whether
the enum is an `enum class`. Instead, it says if the type is declared
inside the body of a function.

This patch always creates unscoped enums and adds a new test which fails
without the change.

rdar://192360576
DeltaFile
+18-0lldb/test/Shell/SymbolFile/NativePDB/local-enum.cpp
+1-1lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilderClang.cpp
+19-12 files

LLVM/project fc3b71c — clang/test/AST ast-dump-decl.cpp ast-dump-APValue-lvalue.cpp, clang/test/AST/HLSL ast-dump-APValue-matrix.hlsl

[clang][AST] Dump saved APValue of all `VarDecl`s (#239672)

Only evaluate the value of constexpr variables during `dump()`, but
always print the saved `APValue` if there is one.

This is more honest since we don't withhold the values we calculated for
non-constexpr variables.
DeltaFile
+37-37clang/test/AST/ast-dump-APValue-array.cpp
+35-35clang/test/AST/ast-dump-APValue-struct.cpp
+20-20clang/test/AST/HLSL/ast-dump-APValue-matrix.hlsl
+15-15clang/test/AST/ast-dump-APValue-vector.cpp
+11-11clang/test/AST/ast-dump-APValue-lvalue.cpp
+10-8clang/test/AST/ast-dump-decl.cpp
+128-12619 files not shown
+203-17525 files

NetBSD/pkgsrc-wip cabba96 — py-rt COMMIT_MSG distinfo

py-rt: Update to 4.0.0

Changes:
The changelog will be filled in COMMIT_MSG.. Hopefully in the next
hours... But, beware!, there are breaking changes!
DeltaFile
+86-10py-rt/PLIST
+7-7py-rt/Makefile
+3-3py-rt/distinfo
+4-0py-rt/COMMIT_MSG
+100-204 files

LLVM/project 7a9e8e1 — lldb/source/Host/windows MainLoopWindows.cpp, lldb/unittests/Host MainLoopTest.cpp

[lldb][Windows] Restore blocking mode of sockets polled by MainLoopWindows (#243851)

`MainLoopWindows` polls sockets with `WSAEventSelect`, which makes them
non-blocking, and `DidPoll` never restores blocking mode.

This patch restores blocking mode in `DidPoll`, after clearing the event
selection.

Under load, at desk, `SocketTest.CreatePair` fails 49 of 6000 runs
without this patch and passes 8000 of 8000 with it. The new
`MainLoopTest.PolledSocketStaysBlocking` fails every run without it.

rdar://191149178
DeltaFile
+29-0lldb/unittests/Host/MainLoopTest.cpp
+3-0lldb/source/Host/windows/MainLoopWindows.cpp
+32-02 files

NetBSD/pkgsrc-wip 316f99c — act TODO

act: Add reference to CVE-2026-134824
DeltaFile
+1-1act/TODO
+1-11 files

LLVM/project 14f5a3e — libcxxabi/src private_typeinfo.h private_typeinfo.cpp

[libc++abi] Merge dst_type_might_be_derived_from_static_type into path_dst_ptr_to_static_ptr
DeltaFile
+17-26libcxxabi/src/private_typeinfo.cpp
+1-1libcxxabi/src/private_typeinfo.h
+18-272 files

LLVM/project d06e252 — clang/lib/CodeGen CGStmtOpenMP.cpp, clang/test/OpenMP atomic_no_flush_codegen.c atomic_compare_codegen.cpp

[OpenMP] Don't emit explicit flushes for atomic constructs

Clang and the OpenMPIRBuilder followed every atomic construct that has a
memory ordering other than relaxed with a call to __kmpc_flush, which is
a full memory barrier.  However the LLVM LangRef specifies that an atomic
operation itself can provide the ordering "rather than an explicit fence",
so this isn't actually necessary.

It seems the calls are emitted based on a reading of the spec describing
*implied* flushes to mean that flushes should be literally emitted;
an alternative reading (here) is that the flushes are implied by the
atomic operation itself.  See e.g. OpenMP 6.0 "17.8.5 atomic Construct"
or equivalent passages in 5.0 through 5.2.  The flushes in question
are the "with a list" type for seq_cst, i.e. relating only to the
memory locations used in the atomic.  For acquire/release atomics,
synchronization happens through the atomic's variable.

The __kmpc_flush call was also only emitted after the atomic operation,
so in some cases we're *already* relying on the ordering provided by

    [29 lines not shown]
DeltaFile
+440-1,358clang/test/OpenMP/atomic_compare_codegen.cpp
+22-88clang/lib/CodeGen/CGStmtOpenMP.cpp
+86-0clang/test/OpenMP/atomic_no_flush_codegen.c
+0-67llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+15-15mlir/test/Target/LLVMIR/openmp-llvm.mlir
+10-10flang/test/Integration/OpenMP/atomic-compare.f90
+573-1,53811 files not shown
+631-1,59617 files

NetBSD/pkgsrc aXq9mAj — misc/py-shellingham distinfo, misc/py-shellingham/patches patch-src_shellingham_posix_proc.py

   py-shellingham: update patch after feedback
VersionDeltaFile
1.2+13-6misc/py-shellingham/patches/patch-src_shellingham_posix_proc.py
1.7+2-2misc/py-shellingham/distinfo
+15-82 files

LLVM/project 97cb69e — llvm/lib/Target/SPIRV SPIRVEmitIntrinsics.cpp, llvm/test/CodeGen/SPIRV/instructions select-multi-register-aggregate-arms.ll

[SPIR-V] Rebuild multi-register aggregate arms from a typed placeholder (#236369)

`insertCompositeAggregateArms` rebuilds a multi-register aggregate arm
(e.g. the result of `llvm.sincos`) of an aggregate select or PHI with
`insertvalue`, starting from `poison`. It runs after
`preprocessUndefsAndPoisons`, so that poison stayed bare and
`visitInsertValueInst` turned it into `UndefValue::get(i32)`, which is
uniqued: a second such chain in the function, or any `i32 undef`, then
got the first chain's SPIR-V type, giving an invalid
`OpCompositeInsert`. The chain now starts from the placeholder
`preprocessUndefsAndPoisons` would have created.

Assisted-by: Claude Opus 5.5

---------

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+53-0llvm/test/CodeGen/SPIRV/instructions/select-multi-register-aggregate-arms.ll
+14-2llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
+67-22 files

LLVM/project 6a14adf — llvm/lib/Target/SPIRV SPIRVEmitIntrinsics.cpp, llvm/test/CodeGen/SPIRV/pointers getelementptr-byte-offset-past-element.ll

[SPIRV] Fold constant byte offsets past an array element into the index (#243461)

Logical SPIR-V asserts in `walkLogicalAccessChainConstant` when a GEP
adds a constant byte offset to a pointer into a byte-addressed array and
the offset reaches past the element. For example, InstCombine turns
`color.data[o + 2]` on `float4 data[8]` into `getelementptr [16 x i8],
%base, i32 %o` followed by `getelementptr i8, %p, i32 32`. The access
chain walk deduces `<4 x float>` for `%p` and cannot apply a 32-byte
offset to it.

This splits offsets like this into a count of array elements, which it
adds to the array index, and the leftover bytes, which stay a byte
offset inside the new element. In the example, `color.data[o]` plus 32
bytes becomes `color.data[o + 2]`. Longer GEP chains and variable
offsets still fail.

Addresses the constant-byte-offset crash in #206815.
DeltaFile
+80-0llvm/test/CodeGen/SPIRV/pointers/getelementptr-byte-offset-past-element.ll
+58-0llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
+138-02 files

LLVM/project a85c33a — llvm/test/Transforms/Util/DeclareRuntimeLibcalls systemz.ll sparc.ll

RuntimeLibcalls: Add attributes to fenv libcalls (#244446)

Treat the fp environment as inaccessible memory.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+25-20llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+20-16llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+15-12llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+15-12llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+10-8llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+10-8llvm/test/Transforms/Util/DeclareRuntimeLibcalls/sparc.ll
+95-7610 files not shown
+171-13216 files

OpenBSD/src On3BLKn — sbin/ifconfig sff.c

   In upper_media_map, .dist_om2 should be UPPER_DIST_OM2 rather than
   UPPER_DIST_OM1.

   ok dlg@
VersionDeltaFile
1.26+2-2sbin/ifconfig/sff.c
+2-21 files

OPNSense/core 201fb50 — src/etc/rc.d netflow, src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/forms netflow_capture.xml

netflow: modify netgraph NAT accounting to prevent duplicate flow records (#11235)

(cherry picked from commit 1df933627c9eb07beb4deeb810cc341f792d88f2)
(cherry picked from commit 9ef29c0af42e1689398013dc12ae9c8174ab7e8f)
(cherry picked from commit d483219b66704eccd44cbc4041dd53c5438a3690)
DeltaFile
+14-1src/opnsense/scripts/netflow/lib/aggregate.py
+4-4src/opnsense/scripts/netflow/lib/aggregates/__init__.py
+2-2src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/forms/netflow_capture.xml
+2-2src/etc/rc.d/netflow
+1-1src/opnsense/service/templates/OPNsense/Netflow/flowd.conf
+23-105 files

LLVM/project f0d8907 — llvm/lib/Transforms/IPO LowerTypeTests.cpp

comment
DeltaFile
+3-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+3-01 files

FreeNAS/freenas 2a8c7e4 — tests/unit test_shadow_account_policy.py

NAS-145368 / 27.1.0 / Clear the login rate limit in the password expiry unit tests (by bmeagherix) (#20283)

auth.login_ex over TCP is limited to 20 calls per minute per IP, and
logins made by earlier tests in the run count against that limit.
test__password_expired and test__password_expiry_warning could then fail
with EBUSY "Rate Limit Exceeded" depending on test order and timing.

Clear the rate limit cache before these two tests only.

Original PR: https://github.com/truenas/middleware/pull/20281

Co-authored-by: Brian Meagher <brian.meagher at truenas.com>
DeltaFile
+9-0tests/unit/test_shadow_account_policy.py
+9-01 files

FreeNAS/freenas 1f40697 — tests/unit test_shadow_account_policy.py

NAS-145368 / 28.0.0-BETA.1 / Clear the login rate limit in the password expiry unit tests (#20281)

auth.login_ex over TCP is limited to 20 calls per minute per IP, and
logins made by earlier tests in the run count against that limit.
test__password_expired and test__password_expiry_warning could then fail
with EBUSY "Rate Limit Exceeded" depending on test order and timing.

Clear the rate limit cache before these two tests only.
DeltaFile
+9-0tests/unit/test_shadow_account_policy.py
+9-01 files

NetBSD/pkgsrc Jw7jXjE — doc CHANGES-2026

   doc: Updated net/routinator to 0.16.2
VersionDeltaFile
1.8330+2-1doc/CHANGES-2026
+2-11 files