LLVM/project 2b41985llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp SelectionDAG.cpp

[DAG] Fix incorrect ForSigned handling in computeConstantRange calls (#188889)

Fix two places where ForSigned was incorrectly passed to
computeConstantRange, causing wrong signed/unsigned range computation.

In computeConstantRangeIncludingKnownBits (DemandedElts overload),
the call omitted ForSigned, so Depth (unsigned) was implicitly
converted to bool for the ForSigned parameter. Introduced in
a6a66a4e6915.

In visitIMINMAX, the call always passed ForSigned=false, even when
folding SMAX/SMIN which query signed bounds from the resulting range.
DeltaFile
+2-1llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+1-1llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+3-22 files

LLVM/project 6c8782bmlir/lib/Dialect/Vector/Transforms VectorDistribute.cpp

[MLIR][Vector] Fix direct operand.set() bypassing rewriter in WarpOpScfIfOp/ForOp (#188948)

In WarpOpScfIfOp and WarpOpScfForOp, the walk that updates users of
escaping values (after moving them to the inner WarpOp) was calling
operand.set() directly, bypassing the rewriter API. This causes the
MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS fingerprint check to fail.

Fix by wrapping the operand updates with rewriter.modifyOpInPlace().

Assisted-by: Claude Code
Fix a failure present with MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON.
DeltaFile
+20-2mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp
+20-21 files

LLVM/project 0bb0c7dmlir/lib/Dialect/MPI/IR MPIOps.cpp

[MLIR][MPI] Fix direct getRefMutable().assign() bypassing rewriter in FoldCast (#188943)

The FoldCast canonicalization pattern was calling
op.getRefMutable().assign(src) directly, bypassing the rewriter. This
violates the pattern API contract and causes fingerprint change failures
when
MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS is enabled. Wrap the
modification with b.modifyOpInPlace() to properly notify the rewriter of
the changes.

Assisted-by: Claude Code
Fix a failure present with MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON.
DeltaFile
+1-1mlir/lib/Dialect/MPI/IR/MPIOps.cpp
+1-11 files

LLVM/project ccb64cbmlir/include/mlir/IR Value.h BlockSupport.h, mlir/lib/IR Value.cpp

[Value] Mark getOperandNumber as Const (#189267)
DeltaFile
+2-2mlir/lib/IR/Value.cpp
+1-1mlir/include/mlir/IR/Value.h
+1-1mlir/include/mlir/IR/BlockSupport.h
+4-43 files

LLVM/project 9e7e955llvm/lib/Target/AArch64/MCTargetDesc AArch64InstPrinter.cpp

fixup! Improve printing code for tabs and commas
DeltaFile
+5-8llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+5-81 files

LLVM/project d3f1e0dllvm/lib/Target/SPIRV SPIRVEmitIntrinsics.cpp SPIRVPostLegalizer.cpp, llvm/test/CodeGen/SPIRV/instructions phi-aggregate-loop.ll

[SPIR-V] Fix aggregate PHI type mismatch in loops (#186086)
DeltaFile
+112-0llvm/test/CodeGen/SPIRV/instructions/phi-aggregate-loop.ll
+37-1llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
+9-6llvm/lib/Target/SPIRV/SPIRVPostLegalizer.cpp
+3-1llvm/lib/Target/SPIRV/SPIRVUtils.cpp
+161-84 files

FreeBSD/ports 56dc43etextproc/py-pygments distinfo Makefile

textproc/py-pygments: Update to 2.20.0

ChangeLog:      https://github.com/pygments/pygments/releases/tag/2.20.0
Reported by:    "Matthäus G. Chajdas" <notifications at github.com>
DeltaFile
+3-3textproc/py-pygments/distinfo
+2-2textproc/py-pygments/Makefile
+5-52 files

LLVM/project 53335d4llvm/test/MC/AArch64 armv9.4a-gcs.s arm64-aliases.s

fixup! Move new tests into arm64-aliases.s
DeltaFile
+0-40llvm/test/MC/AArch64/armv9.4a-gcs.s
+32-0llvm/test/MC/AArch64/arm64-aliases.s
+25-0llvm/test/MC/AArch64/armv9a-sysp-pairs.s
+2-6llvm/test/MC/AArch64/brbe.s
+0-5llvm/test/MC/AArch64/armv8.9a-debug-pmu.s
+0-5llvm/test/MC/AArch64/armv9.6a-rme-gpc3.s
+59-566 files

LLVM/project 9eb3c49llvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Parse instructions in AArch64AsmParser.cpp
DeltaFile
+87-5llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+0-14llvm/lib/Target/AArch64/AArch64InstrInfo.td
+87-192 files

LLVM/project dd242a1llvm/lib/Target/AArch64 AArch64InstrInfo.td AArch64InstrFormats.td, llvm/lib/Target/AArch64/MCTargetDesc AArch64InstPrinter.cpp

[AArch64][llvm] Redefine some isns as an alias of `SYS`

Some instructions are not currently defined as an alias of `SYS`
when they should be, so they don't disassemble back into the
native instruction, but instead disassemble into `SYS`.
Fix these cases and add additional testcase.

Note that I've left `GCSPUSHM` due to a `mayStore`, `GCSSS1` and
`GCSSS2` as they're used in AArch64ISelDAGToDAG.cpp, and `GCSPOPM`
has an intrinsic pattern in AArch64InstrInfo.td. They will disassemble
correctly though, as they use `InstAlias`.
DeltaFile
+116-0llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+24-23llvm/lib/Target/AArch64/AArch64InstrInfo.td
+40-0llvm/test/MC/AArch64/armv9.4a-gcs.s
+0-19llvm/lib/Target/AArch64/AArch64InstrFormats.td
+6-2llvm/test/MC/AArch64/brbe.s
+5-0llvm/test/MC/AArch64/armv8.9a-debug-pmu.s
+191-441 files not shown
+196-447 files

LLVM/project f2a9b07llvm/lib/Analysis DependenceAnalysis.cpp

[DA] Consolidate the logic for checking overlap at the boundary (NFCI) (#189341)

In the Weak Crossing SIV test, there were two places where we checked
the dependency at the boundary, one is at the first iteration, and the
other is at the last iteration. Now the former can be merged into the
latter. There used to be an edge case when the coefficient is zero, and
we had an explicit check for that. This patch removes that check as
well, by moving the boundary check after the assertion that ensures the
(maybe negated) coefficient is positive.
DeltaFile
+1-12llvm/lib/Analysis/DependenceAnalysis.cpp
+1-121 files

FreeBSD/ports 575f865multimedia/openshot pkg-plist distinfo, multimedia/openshot/files patch-doc_effects.rst patch-src_settings___default.settings

multimedia/openshot: Update 3.4.0 => 3.5.0

Changelog:
https://github.com/OpenShot/openshot-qt/releases/tag/v3.5.0

PR:             294111
Sponsored by:   UNIS Labs
DeltaFile
+171-0multimedia/openshot/files/patch-doc_effects.rst
+91-3multimedia/openshot/pkg-plist
+3-3multimedia/openshot/distinfo
+3-3multimedia/openshot/files/patch-src_settings___default.settings
+3-3multimedia/openshot/files/patch-doc_conf.py
+2-2multimedia/openshot/files/patch-src_classes_metrics.py
+273-143 files not shown
+278-199 files

FreeBSD/ports c4afe89multimedia/libopenshot distinfo Makefile, multimedia/libopenshot/files patch-src_FFmpegWriter.cpp patch-src_FFmpegReader.cpp

multimedia/libopenshot: Update 0.5.0 => 0.6.0

Changelog:
https://github.com/OpenShot/libopenshot/releases/tag/v0.6.0

PR:             294111
Sponsored by:   UNIS Labs
DeltaFile
+12-9multimedia/libopenshot/files/patch-src_FFmpegWriter.cpp
+6-6multimedia/libopenshot/files/patch-src_FFmpegReader.cpp
+11-0multimedia/libopenshot/files/patch-bindings_python_CMakeLists.txt
+3-3multimedia/libopenshot/distinfo
+1-2multimedia/libopenshot/Makefile
+1-1multimedia/libopenshot/pkg-plist
+34-216 files

DragonFlyBSD/src 72911c8contrib/zlib README.DRAGONFLY, lib/libz Makefile.stand zconf.h

libz: Define Z_SOLO to fix libstand <unistd.h> conflict

This avoids the local change to 'zconf.h'.  Update the README.DRAGONFLY
accordingly.
DeltaFile
+3-1lib/libz/Makefile.stand
+1-2contrib/zlib/README.DRAGONFLY
+0-2lib/libz/zconf.h
+4-53 files

FreeBSD/ports 4b8abb4audio/libopenshot-audio distinfo Makefile, audio/libopenshot-audio/files patch-CMakeLists.txt

audio/libopenshot-audio: Update 0.5.0 => 0.6.0

Changelog:
https://github.com/OpenShot/libopenshot-audio/releases/tag/v0.6.0

PR:             294111
Sponsored by:   UNIS Labs
DeltaFile
+3-3audio/libopenshot-audio/files/patch-CMakeLists.txt
+3-3audio/libopenshot-audio/distinfo
+1-1audio/libopenshot-audio/Makefile
+7-73 files

LLVM/project 3bc8c57clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenModule.cpp

[CIR] Add calling_conv attribute to FuncOp with lowering support
DeltaFile
+38-0clang/test/CIR/IR/calling-conv.cir
+34-0clang/test/CIR/Lowering/calling-conv.cir
+23-5clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+24-1clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+16-1clang/include/clang/CIR/Dialect/IR/CIROps.td
+5-6clang/lib/CIR/CodeGen/CIRGenModule.cpp
+140-133 files not shown
+143-219 files

LLVM/project fd7388dclang/lib/Sema SemaDecl.cpp, clang/test/Sema redefine_extname.cpp

`#pragma redefine_extname`: warn only if conflicting ID is at TU scope. (#188256)

As an example, this should keep warning:

```
static void foo();
```

because here, the identiifer `foo` won't be affected. In fact, it now
becomes (mostly) impossible to even declare anything later that would
get affected, thus the new definition is in active conflict with the
`#pragma`.

This however will not warn anymore:

```
namespace blargh {
static void foo();
}

    [30 lines not shown]
DeltaFile
+108-0clang/test/Sema/redefine_extname.cpp
+6-2clang/lib/Sema/SemaDecl.cpp
+114-22 files

LLVM/project 475f71eclang/include/clang/Sema MultiplexExternalSemaSource.h ExternalSemaSource.h, clang/include/clang/Serialization ASTReader.h

Serialize `#pragma redefine_extname` into precompiled headers. (#186755)

Also deserialize them back again on reading.

The implementation is based on the existing implementation of `#pragma
weak` serialization.

Fixes issue #186742.

---------

Co-authored-by: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
DeltaFile
+43-0clang/lib/Serialization/ASTReader.cpp
+23-0clang/lib/Serialization/ASTWriter.cpp
+14-0clang/test/PCH/pragma-redefine-extname.c
+11-1clang/include/clang/Serialization/ASTReader.h
+11-0clang/include/clang/Sema/MultiplexExternalSemaSource.h
+10-0clang/include/clang/Sema/ExternalSemaSource.h
+112-17 files not shown
+150-113 files

FreeBSD/src dafac65share/man/man9 DEVICE_IDENTIFY.9

DEVICE_IDENTIFY.9: Fix function call to detect driver in example code

Fixes:          ccabc7c2e556 ("DEVICE_IDENTIFY.9: Modernize description and use cases")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit c78937677c973c48fd438ea06cfb51e11cc62851)
DeltaFile
+1-1share/man/man9/DEVICE_IDENTIFY.9
+1-11 files

FreeBSD/src 806d26esys/security/mac_do mac_do.c

MAC/do: Comments: Rephrase one, fix a typo in another

No functional change.

MFC after:      3 days
Event:          AsiaBSDCon 2026
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 954aaf3958e2ea0e9b1811090ddbb9d8b13a3e5a)
DeltaFile
+5-4sys/security/mac_do/mac_do.c
+5-41 files

FreeBSD/src 25d0c5dsys/kern kern_cpu.c

cpufreq(4): cpufreq_levels_sysctl(): Remove always false NULL test

'sc->levels_buf' is initialized with malloc(M_WAITOK), so can never be
NULL.  Another sysctl handler function (cpufreq_curr_sysctl()) already
relies on that.

MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 953b9164c3d93e820a53b4fdebbde7fabb7b7644)
DeltaFile
+2-6sys/kern/kern_cpu.c
+2-61 files

LLVM/project 5d29276clang/include/clang/Basic OffloadArch.h, clang/lib/Basic OffloadArch.cpp

clang: Return Triple from OffloadArchToTriple instead of a string

Also stop bothering to call normalizeOffloadTriple. This was
produced by code which should always produce normalized triples.
DeltaFile
+8-7clang/lib/Basic/OffloadArch.cpp
+1-5clang/lib/Driver/Driver.cpp
+2-2clang/include/clang/Basic/OffloadArch.h
+11-143 files

OPNSense/core 46945f8src/opnsense/scripts/kea/lib kea_ctrl.py

simplify this
DeltaFile
+2-5src/opnsense/scripts/kea/lib/kea_ctrl.py
+2-51 files

NetBSD/pkgsrc Zp7aKJAdoc CHANGES-2026

   Updated converters/py-fastbencode, misc/py-pbs-installer
VersionDeltaFile
1.2005+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc 4S2G9d0misc/py-pbs-installer distinfo Makefile

   py-pbs-installer: updated to 2026.3.25

   2026.3.25
   Unknown changes
VersionDeltaFile
1.16+4-4misc/py-pbs-installer/distinfo
1.16+2-2misc/py-pbs-installer/Makefile
+6-62 files

NetBSD/pkgsrc a2nxZqcconverters/py-fastbencode distinfo cargo-depends.mk

   py-fastbencode: updated to 0.3.10

   0.3.10
   Bumped dependencies
VersionDeltaFile
1.11+43-58converters/py-fastbencode/distinfo
1.5+13-18converters/py-fastbencode/cargo-depends.mk
1.17+2-2converters/py-fastbencode/Makefile
+58-783 files

LLVM/project be94bfdllvm/lib/Analysis DependenceAnalysis.cpp, llvm/test/Analysis/DependenceAnalysis weak-zero-siv-delta-signed-min.ll

[DA] Stop negating Delta in the Weak Zero SIV test (#188212)

This patch removes the variable `NewDelta`, which was calculated as the
negation of `Delta`, along with its uses. `NewDelta` is now referenced
in only one place, and that code is effectively dead because more
general analysis with ConstantRange is performed at an earlier stage.
Also the test using `NewDelta` is not correct when `Delta` is a signed
minimum value, as negating it yields the same value as original. This
patch also fixes the correctness issue in such a situation.
DeltaFile
+0-12llvm/lib/Analysis/DependenceAnalysis.cpp
+6-6llvm/test/Analysis/DependenceAnalysis/weak-zero-siv-delta-signed-min.ll
+6-182 files

LLVM/project 0069867mlir/include/mlir/Dialect/Affine/Transforms Passes.td Transforms.h, mlir/lib/Dialect/Affine/Transforms SimplifyAffineWithBounds.cpp CMakeLists.txt

[mlir][affine] Add ValueBounds-based simplification for delinearize(linearize) pairs (#187245)

`affine.linearize_index` pairs
(`CancelDelinearizeOfLinearizeDisjointExactTail`) only match when basis
elements are exactly equal as `OpFoldResult` values. This means they
cannot simplify cases where dynamic basis products are semantically
equal but represented by different SSA values or affine expressions.

This patch adds a new pass `affine-simplify-with-bounds` with two
rewrite patterns that use `ValueBoundsConstraintSet` to prove equality
of basis products:

- **`SimplifyDelinearizeOfLinearizeDisjointManyToOneTail`**: matches
when multiple consecutive linearize dimensions have a product equal to a
single delinearize dimension (many-to-one).
- **`SimplifyDelinearizeOfLinearizeDisjointOneToManyTail`**: matches
when a single linearize dimension equals the product of multiple
consecutive delinearize dimensions (one-to-many).


    [8 lines not shown]
DeltaFile
+255-0mlir/lib/Dialect/Affine/Transforms/SimplifyAffineWithBounds.cpp
+167-0mlir/test/Dialect/Affine/simplify-with-bounds.mlir
+12-0mlir/include/mlir/Dialect/Affine/Transforms/Passes.td
+4-0mlir/include/mlir/Dialect/Affine/Transforms/Transforms.h
+1-0mlir/lib/Dialect/Affine/Transforms/CMakeLists.txt
+439-05 files

FreeBSD/src e220af9sys/dev/nvme nvme_sim.c

nvme_sim: Fix name in module version metadata

MFC after:      1 week
Fixes:          1e39b5d4833e ("nvme_sim: Attach as a child of nvme")
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1sys/dev/nvme/nvme_sim.c
+1-11 files

FreeBSD/src 4deb934sys/kern vfs_vnops.c

vfs: Simplify vfs_write_resume()/vn_start_write_refed()

The call to vn_start_write_refed() from vfs_write_resume() with
'mplocked' set to 'true' exactly boils down to doing an increment of
'mnt_writeopcount', albeit with lots of unnecessary verifications.

Replace it with an inline incrementation.  As the original call was the
last with 'mplocked' with 'true', remove the 'mplocked' parameter from
vfs_write_resume(), simplifying its code accordingly ('mplocked' always
false).

While here, in vfs_write_resume(), initialize 'error' out of the mount
lock.

Reviewed by:    kib
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56108
DeltaFile
+10-12sys/kern/vfs_vnops.c
+10-121 files