LLVM/project 69bdc3cmlir/include/mlir-c Rewrite.h, mlir/lib/CAPI/Transforms Rewrite.cpp

[mlir-c] Add ConversionTarget dynamic legality C API

Add mlirConversionTargetAddDynamicallyLegalOp,
mlirConversionTargetAddDynamicallyLegalDialect,
mlirConversionTargetMarkOpRecursivelyLegal, and
mlirConversionTargetMarkUnknownOpDynamicallyLegal to enable
per-instance legality callbacks from C.
DeltaFile
+180-0mlir/test/CAPI/rewrite.c
+60-0mlir/lib/CAPI/Transforms/Rewrite.cpp
+44-0mlir/include/mlir-c/Rewrite.h
+284-03 files

LLVM/project 94e26aamlir/include/mlir-c Rewrite.h, mlir/lib/CAPI/Transforms Rewrite.cpp

[mlir-c] Add ConversionTarget dynamic legality C API

Add mlirConversionTargetAddDynamicallyLegalOp,
mlirConversionTargetAddDynamicallyLegalDialect,
mlirConversionTargetMarkOpRecursivelyLegal, and
mlirConversionTargetMarkUnknownOpDynamicallyLegal to enable
per-instance legality callbacks from C.
DeltaFile
+149-0mlir/test/CAPI/rewrite.c
+49-0mlir/lib/CAPI/Transforms/Rewrite.cpp
+31-0mlir/include/mlir-c/Rewrite.h
+229-03 files

OpenBSD/ports vzcBVKxproductivity/tickrs distinfo crates.inc, productivity/tickrs/files config.yml

   Update tickrs to 0.15.0

   Update diff from Chris Billington
VersionDeltaFile
1.2+32-4productivity/tickrs/distinfo
1.2+15-1productivity/tickrs/crates.inc
1.2+14-0productivity/tickrs/files/config.yml
1.2+3-3productivity/tickrs/Makefile
1.2+2-0productivity/tickrs/pkg/DESCR
+66-85 files

LLVM/project 6a12b7cmlir/include/mlir/Bindings/Python IRAttributes.h, mlir/lib/Bindings/Python IRCore.cpp IRAffine.cpp

[mlir][python] Fix Python binding cast diagnostics for nanobind 2.13 (#206391)

nanobind 2.13.0 changed failing `nb::cast<T>()` to raise `cast_error`
(an alias for `std::bad_cast`) for all failures, including `None`,
instead of the previous distinct exception types. The bindings relied on
catching `std::runtime_error` separately from `cast_error` to emit a
helpful "(None?)" hint, so that branch became dead code and the `None`
diagnostics regressed (e.g. "(std::bad_cast)" instead of "(None?)"),
breaking check-mlir Python tests.

Fix: Decide the `None` hint from the value via `is_none()` rather than
the exception type. This is robust across nanobind versions (2.10-2.13).

Fixes #205329 

Assisted by: Claude
DeltaFile
+7-7mlir/lib/Bindings/Python/IRCore.cpp
+7-6mlir/include/mlir/Bindings/Python/IRAttributes.h
+6-5mlir/lib/Bindings/Python/IRAffine.cpp
+20-183 files

FreeBSD/doc 605cabddocumentation/content/en/books/handbook/bsdinstall _index.adoc

handbook/bsdinstall: Fix example block attributes

This allows the example block to always show the latest release.

Fixes: a2f2b294050c ("handbook/bsdinstall: Use latest release macro")
DeltaFile
+2-2documentation/content/en/books/handbook/bsdinstall/_index.adoc
+2-21 files

LLVM/project de2ba06mlir/include/mlir-c Dominance.h, mlir/include/mlir/CAPI Dominance.h

[mlir-c] Add DominanceInfo and PostDominanceInfo C API bindings (#206156)

Expose DominanceInfo and PostDominanceInfo through the MLIR C API with
operation/block/value dominance queries, nearest common dominator,
reachability, and invalidation.

Assisted by: Claude
DeltaFile
+160-0mlir/test/CAPI/ir.c
+125-0mlir/include/mlir-c/Dominance.h
+106-0mlir/lib/CAPI/IR/Dominance.cpp
+19-0mlir/include/mlir/CAPI/Dominance.h
+1-0mlir/lib/CAPI/IR/CMakeLists.txt
+411-05 files

FreeBSD/ports aea5f94devel/bugzilla52 Makefile

devel/bugzilla52: fix brain-o in dependency list.

Reviewed by:    Darius
DeltaFile
+2-2devel/bugzilla52/Makefile
+2-21 files

FreeBSD/doc 087c367shared releases.adoc

15.1: Belatedly bump latest release macros

Reported by:            dch
Differential Revision:  https://reviews.freebsd.org/D57867
DeltaFile
+3-3shared/releases.adoc
+3-31 files

LLVM/project 307ad0ellvm/lib/Target/AArch64 AArch64RegisterInfo.td, llvm/utils/TableGen/Common CodeGenRegisters.cpp

fixup! implement Carol's suggestion
DeltaFile
+5-6llvm/lib/Target/AArch64/AArch64RegisterInfo.td
+1-10llvm/utils/TableGen/Common/CodeGenRegisters.cpp
+6-162 files

LLVM/project f042cf4flang/lib/Optimizer/Transforms/CUDA CUFPredefinedVarToGPU.cpp, flang/test/Fir/CUDA predefined-variables.mlir

[flang][cuda] Rewrite predefined variable in acc compute ops with inlined cuf function (#206205)
DeltaFile
+100-0flang/test/Fir/CUDA/predefined-variables.mlir
+6-2flang/lib/Optimizer/Transforms/CUDA/CUFPredefinedVarToGPU.cpp
+106-22 files

FreeBSD/src 453cfe9usr.sbin/efitable efitable.8 efitable.c

efitable: Fixup getopt args to reflect guid use.

Correct the manpage to reflect the preference for GUID vs UUID.
Take the long version of --guid for the -g option.
Sort the argument list while we are touching it.

Reviewed by:    imp
Event:          BSDCan 2026
Differential Revision:  https://reviews.freebsd.org/D57695

(cherry picked from commit 3a4e049c38143980e472b2926abde3c7549530c4)
DeltaFile
+3-3usr.sbin/efitable/efitable.8
+2-1usr.sbin/efitable/efitable.c
+5-42 files

LLVM/project ff93bd2mlir/include/mlir/Bindings/Python IRAttributes.h, mlir/lib/Bindings/Python IRCore.cpp IRAffine.cpp

[mlir][python] Fix Python binding cast diagnostics for nanobind 2.13

nanobind 2.13.0 changed failing `nb::cast<T>()` to raise `cast_error`
(an alias for `std::bad_cast`) for all failures, including `None`,
instead of the previous distinct exception types. The bindings relied
on catching `std::runtime_error` separately from `cast_error` to emit a
helpful "(None?)" hint, so that branch became dead code and the `None`
diagnostics regressed (e.g. "(std::bad_cast)" instead of "(None?)"),
breaking check-mlir Python tests.

Decide the `None` hint from the value via `is_none()` rather than the
exception type. This is robust across nanobind versions (2.10-2.13).

Fixes #205329
DeltaFile
+7-7mlir/lib/Bindings/Python/IRCore.cpp
+7-6mlir/include/mlir/Bindings/Python/IRAttributes.h
+6-5mlir/lib/Bindings/Python/IRAffine.cpp
+20-183 files

LLVM/project e568ab3llvm/lib/CodeGen MachineBasicBlock.cpp

[CodeGen] Search predecessors from the back in removePredecessor() (#206070)

In many passes involving CFG updates, it is a common pattern to process
the Predecessors vector from back to front for efficiency. However, the
current forward search in removePredecessor often results in an O(N)
complexity.

So this patch tries to change the search logic to a reverse search to
better align with the majority of actual CFG manipulation scenarios.
And in a real-world case (with ~16k predecessors), this modification can
help to reduce the execution time of the BranchFolder pass from
166.4951s to 6.0717s.

---------

Co-authored-by: Reid Kleckner <rkleckner at nvidia.com>
DeltaFile
+6-3llvm/lib/CodeGen/MachineBasicBlock.cpp
+6-31 files

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

fixup! Model GCS sysl insns properly
DeltaFile
+31-41llvm/lib/Target/AArch64/AArch64InstrFormats.td
+17-0llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+1-4llvm/lib/Target/AArch64/AArch64InstrInfo.td
+1-1llvm/test/tools/llvm-mca/AArch64/Neoverse/V1-misc-instructions.s
+50-464 files

OpenBSD/src E0wi4GKusr.bin/ssh ssh-add.c authfd.c

   make ssh-add open it's connection to the agent after it has
   finished getopt() processing and not before. This allows the -v
   flag to work properly.

   ok jca@
VersionDeltaFile
1.187+17-16usr.bin/ssh/ssh-add.c
1.143+2-2usr.bin/ssh/authfd.c
+19-182 files

OpenBSD/src t04te6Fusr.bin/ssh ed25519-openssl.c

   Fix bounds checking when signing messages of length greater than will
   fit in a size_t.
   In OpenSSH, messages sizes are bounded by SSHBUF_SIZE_MAX so this was
   unreachable.
   From Swival scanner.
VersionDeltaFile
1.3+5-1usr.bin/ssh/ed25519-openssl.c
+5-11 files

LLVM/project af06d2ellvm/lib/Target/AArch64 AArch64InstrFormats.td

fixup! Add mayLoad/mayStore
DeltaFile
+3-0llvm/lib/Target/AArch64/AArch64InstrFormats.td
+3-01 files

OpenBSD/src UlVoR6Rusr.bin/ssh sshkey.c

   fix ECDSA order check for curves with cofactor != 1.
   All supported EC curves have cofactor 1, so this is a nop.
   From Swival scanner
VersionDeltaFile
1.163+5-1usr.bin/ssh/sshkey.c
+5-11 files

LLVM/project a6aa65ellvm/lib/Target/AArch64 AArch64RegisterInfo.td AArch64InstrInfo.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Address Marian's comments
DeltaFile
+20-19llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+7-1llvm/lib/Target/AArch64/AArch64RegisterInfo.td
+4-2llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
+3-2llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+1-1llvm/lib/Target/AArch64/AArch64InstrInfo.td
+35-255 files

LLVM/project a5d5d1dmlir/include/mlir-c Rewrite.h, mlir/lib/CAPI/Transforms Rewrite.cpp

[mlir-c] Add ConversionTarget dynamic legality C API

Add mlirConversionTargetAddDynamicallyLegalOp,
mlirConversionTargetAddDynamicallyLegalDialect,
mlirConversionTargetMarkOpRecursivelyLegal, and
mlirConversionTargetMarkUnknownOpDynamicallyLegal to enable
per-instance legality callbacks from C.
DeltaFile
+149-0mlir/test/CAPI/rewrite.c
+44-0mlir/lib/CAPI/Transforms/Rewrite.cpp
+28-0mlir/include/mlir-c/Rewrite.h
+221-03 files

OpenBSD/src GkKloo3usr.bin/ssh sftp-client.c

   avoid situation where sftp_download() could get stuck in a loop if
   a broken server repeatedly returned zero length while reading a file.
   Identified by Swival scanner
VersionDeltaFile
1.186+13-3usr.bin/ssh/sftp-client.c
+13-31 files

LLVM/project fe4ee66llvm/lib/Target/AArch64 AArch64InstrInfo.td AArch64InstrFormats.td, llvm/test/MC/AArch64 arm64-aliases.s

[AArch64] Define GCS operations as SYS and SYSL aliases

Move the remaining `GCS` instructions from dedicated opcodes to `SYSxt/SYSLxt`
aliases, keeping a tied `SYSL` pseudo for codegen where `GCS` preserves the`
input register when disabled at runtime.

Update `GCS` intrinsic selection, scheduling, disassembly aliases, and MC
coverage for the generic `SYS/SYSL` encodings.
DeltaFile
+23-49llvm/lib/Target/AArch64/AArch64InstrInfo.td
+27-0llvm/test/MC/AArch64/arm64-aliases.s
+19-4llvm/lib/Target/AArch64/AArch64InstrFormats.td
+9-3llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
+78-564 files

LLVM/project 07d95ballvm/lib/Target/AArch64 AArch64InstrFormats.td AArch64ISelDAGToDAG.cpp

fixup! Address CR comments
DeltaFile
+4-6llvm/lib/Target/AArch64/AArch64InstrFormats.td
+3-0llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
+7-62 files

LLVM/project 9fd6933llvm/lib/Target/LoongArch LoongArchISelLowering.cpp, llvm/test/CodeGen/LoongArch/lasx/ir-instruction sitofp.ll uitofp.ll

[LoongArch] Use vector extend for sitofp/uitofp (#202496)

Called sign/zero extend first in `performS[U]INT_TO_FPCombine` before
doing vector sitofp/uitofp, which avoid inefficient scalarization.
DeltaFile
+169-0llvm/test/CodeGen/LoongArch/lsx/ir-instruction/sitofp.ll
+135-0llvm/test/CodeGen/LoongArch/lasx/ir-instruction/sitofp.ll
+60-0llvm/test/CodeGen/LoongArch/lsx/ir-instruction/uitofp.ll
+53-0llvm/test/CodeGen/LoongArch/lasx/ir-instruction/uitofp.ll
+40-0llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+457-05 files

OpenBSD/src gDHXNPgusr.bin/ssh sftp.c

   avoid download to server-controlled path when performing download
   on the commandline. From Swival scanner
VersionDeltaFile
1.252+3-8usr.bin/ssh/sftp.c
+3-81 files

LLVM/project 24fb629llvm/lib/Target/LoongArch LoongArchISelLowering.cpp LoongArchLASXInstrInfo.td, llvm/test/CodeGen/LoongArch pr177863.ll

[LoongArch] Legalize LASX truncate with XVPICKEV instruction (#202485)

Add LASX truncate patterns for wide truncates (e.g. `v8i64 trunc to
v8i8`) with `XVPICKEV` instructions.

To merge two registers into one, return concat_vectors as is while its
two operations are `ISD::TRUNCATE`, also dealing with illegal results in
`ReplaceNodeResults`.
DeltaFile
+348-0llvm/test/CodeGen/LoongArch/lasx/vec-trunc-combine.ll
+31-40llvm/test/CodeGen/LoongArch/lasx/vxi1-masks.ll
+18-33llvm/test/CodeGen/LoongArch/lasx/xvmskcond.ll
+6-18llvm/test/CodeGen/LoongArch/pr177863.ll
+22-0llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+19-0llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
+444-916 files

LLVM/project f892160clang/include/clang/AST OpenMPClause.h

[Clang][OpenMP] Remove unnecessary LParentLoc in ThreadLimit and NumTeams clauses

The LParentLoc is already a field of the OMPVarListClause class. The ThreadLimit
and NumTeams clause classes should not need to define it.
DeltaFile
+0-18clang/include/clang/AST/OpenMPClause.h
+0-181 files

FreeBSD/ports 8767751devel/ruby-build distinfo Makefile

devel/ruby-build: Update to 20260616

Changes:        https://github.com/rbenv/ruby-build/releases
(cherry picked from commit c227c38ff81e1963a7089b8031af310519b24fc6)
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

FreeBSD/ports b34fd02devel/ruby-build distinfo Makefile

devel/ruby-build: Update to 20260520

Changes:        https://github.com/rbenv/ruby-build/releases
(cherry picked from commit 6b68a87a2abc931cde173cf4b1c9ccfb9c7c621b)
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

LLVM/project 006f5famlir/include/mlir-c Rewrite.h, mlir/lib/CAPI/Transforms Rewrite.cpp

[mlir-c] Add ConversionTarget dynamic legality C API

Add mlirConversionTargetAddDynamicallyLegalOp,
mlirConversionTargetAddDynamicallyLegalDialect,
mlirConversionTargetMarkOpRecursivelyLegal, and
mlirConversionTargetMarkUnknownOpDynamicallyLegal to enable
per-instance legality callbacks from C.
DeltaFile
+58-0mlir/test/CAPI/rewrite.c
+44-0mlir/lib/CAPI/Transforms/Rewrite.cpp
+28-0mlir/include/mlir-c/Rewrite.h
+130-03 files