LLVM/project 4ee88e8mlir/lib/Dialect/GPU/Transforms KernelOutlining.cpp, mlir/test/Dialect/GPU outlining.mlir

[mlir][gpu] Fix null-deref crash in gpu-kernel-outlining for unresolved symbols (#186273)

In `GpuKernelOutliningPass::createKernelModule`, the symbol-copying
worklist iterates over all symbol uses inside the outlined kernel and
looks each leaf reference up in the parent symbol table. If the symbol
refers to a name inside a nested module (e.g. `@some_module::@func`),
the leaf reference `@func` is not directly present in the parent table,
so `SymbolTable::lookup` returns nullptr. Calling `->clone()` on that
null pointer causes a segfault.

Add a null check: if the symbol is not found in the parent table (it may
live in a nested gpu.module that is already handled separately), skip
it.

Fixes #185357

Assisted-by: Claude Code
DeltaFile
+24-0mlir/test/Dialect/GPU/outlining.mlir
+4-2mlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
+28-22 files

LLVM/project 48c7004llvm/bindings/ocaml/llvm llvm.ml llvm.mli

[OCaml] Fix bindings after br -> uncondbr+condbr split (#186176)

Update opcode lists after
https://github.com/llvm/llvm-project/pull/184027.
DeltaFile
+10-6llvm/bindings/ocaml/llvm/llvm.ml
+4-1llvm/bindings/ocaml/llvm/llvm.mli
+14-72 files

FreeBSD/src b5f564fsys/sys elf_common.h

sys/elf_common.h: Add the gABI spelling for a dynamic tag value.
DeltaFile
+4-1sys/sys/elf_common.h
+4-11 files

LLVM/project 8d61e15mlir/lib/Dialect/Bufferization/Transforms OneShotAnalysis.cpp, mlir/test/Dialect/Bufferization/Transforms one-shot-bufferize-analysis.mlir

[MLIR][Bufferization] Fix out-of-bounds access in setInPlaceOpOperand (#186280)

When annotating operations with bufferization markers during analysis,
setInPlaceOpOperand reads the existing __inplace_operands_attr__ and
then sets one entry. If the attribute was provided by the user with
fewer entries than the op has operands (e.g. a return with two tensor
operands but only one entry in the annotation), the function would crash
with an out-of-bounds vector access.

Fix by resizing the vector to the actual operand count before setting
the entry when the existing annotation is too short.

Fixes #128316

Assisted-by: Claude Code
DeltaFile
+15-0mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-analysis.mlir
+5-0mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
+20-02 files

LLVM/project 7e0ef4aflang/lib/Optimizer/CodeGen CodeGen.cpp, flang/test/Fir convert-to-llvm.fir array_coor_nuw_nusw.fir

[Flang] Apply nusw nuw flags on array_coor gep's (#184573)

When generating the LLVM IR, since #110060, `nsw` is applied to
operations when lowering the subscripts. This was, up until now, only
applied to arithmetic, and not the related getelementptr's.

The original Discouse thread noted that NSW helped with vectorisation
later on in the process. Changes to the BasicAA pipeline has led to
vectorisation no longer being applied where wrapping cannot be
guaranteed for array_coor instructions. By applying the `nusw nuw` flags
to the GEP's, this enables vectorisation in the middle end. Supporting
arithmatic instructions will also be marked `nuw` to ensure instcombine
does not remove these flags when transforming instructions.

There does need to be some consideration to the `sub` operations
generated in this process. There are cases, such as when an array is
shifted, where unsigned wrapping may occur due to using negative values.
To protect against this, if an array is shifted, `nuw` won't be applied
to the `sub` operations.

    [9 lines not shown]
DeltaFile
+64-64flang/test/Fir/convert-to-llvm.fir
+35-35flang/test/Integration/ivdep.f90
+31-20flang/lib/Optimizer/CodeGen/CodeGen.cpp
+35-0flang/test/Fir/array_coor_nuw_nusw.fir
+11-11flang/test/Fir/arrexp.fir
+9-9flang/test/Fir/array-coor.fir
+185-1398 files not shown
+211-16514 files

LLVM/project 1a4a26bflang/include/flang/Semantics openmp-utils.h, flang/lib/Semantics openmp-utils.cpp

Revert "[flang][OpenMP] Implement nest depth calculation in LoopSequence" (#186364)

Reverts llvm/llvm-project#185298

(It broke a bunch of big apps, including 535.weather)
DeltaFile
+9-135flang/lib/Semantics/openmp-utils.cpp
+6-31flang/include/flang/Semantics/openmp-utils.h
+15-1662 files

LLVM/project b7a6d46llvm/test/Analysis/CostModel/AArch64 arith-bf16.ll

[AArch64] Add fixed-length bfloat cost model tests (NFC) (#184805)

These tests are derived from the existing `arith-fp.ll` tests.
DeltaFile
+406-0llvm/test/Analysis/CostModel/AArch64/arith-bf16.ll
+406-01 files

LLVM/project cd5edc0flang/include/flang/Semantics openmp-utils.h, flang/lib/Semantics openmp-utils.cpp

Revert "[flang][OpenMP] Implement nest depth calculation in LoopSequence (#18…"

This reverts commit a057097d590601bdefc3c99baa784a82973bea53.
DeltaFile
+9-135flang/lib/Semantics/openmp-utils.cpp
+6-31flang/include/flang/Semantics/openmp-utils.h
+15-1662 files

LLVM/project ad756c7llvm/lib/Transforms/Vectorize VPlanPredicator.cpp, llvm/test/Transforms/LoopVectorize/RISCV tail-folding-complex-mask.ll blocks-with-dead-instructions.ll

[VPlan] Reuse mask of immediate dominator in VPlanPredicator (#185595)

Previously, VPlanPredicator only reused the mask of the loop header when
a block post-dominates the header. This patch generalizes the
optimization to reuse the mask of immediate dominator when a block
post-dominates its immediate dominator.
This reduces more redundant mask computations, simplifies the generated
code, and improves EVL tail folding.

Based on #173265
Fix #173260
DeltaFile
+11-7llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+4-9llvm/test/Transforms/LoopVectorize/RISCV/tail-folding-complex-mask.ll
+1-11llvm/test/Transforms/LoopVectorize/RISCV/blocks-with-dead-instructions.ll
+3-9llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
+4-6llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+23-425 files

NetBSD/pkgsrc yGgW3tEdoc CHANGES-2026

   doc: Updated comms/libhidapi to 0.15.0
VersionDeltaFile
1.1723+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc zthTDBjcomms/libhidapi distinfo Makefile, comms/libhidapi/patches patch-netbsd_hid.c patch-netbsd_CMakeLists.txt

   libhidapi: update to 0.15.0

   pkgsrc changes:

    - add PLIST_VARS for libhidapi-netbsd (NetBSD HID native backend)
    - pull iconv(3) const check from libusb version
    - check both addr 0 and 1 on enumerating devices (see NetBSD PR/60073)

   Upstream changes:
    https://github.com/libusb/hidapi/releases/tag/hidapi-0.15.0

   general: Add hid_send_output_report() (#677)
   general: Add hid_read_error() (#721)

   winapi: add hid_winapi_set_write_timeout (#700)
   winapi: improvements for hid_get_report_descriptor/hid_winapi_descriptor_reconstruct_pp_data (#707)

   hidraw: report only Top-Level Usage_page/Usage pairs as 'unique' devices (#601)


    [8 lines not shown]
VersionDeltaFile
1.1+59-0comms/libhidapi/patches/patch-netbsd_hid.c
1.1+22-0comms/libhidapi/patches/patch-netbsd_CMakeLists.txt
1.10+6-4comms/libhidapi/distinfo
1.13+5-3comms/libhidapi/Makefile
1.9+5-1comms/libhidapi/PLIST
+97-85 files

LLVM/project 64fc793llvm/include/llvm-c Core.h, llvm/include/llvm/IR PatternMatch.h IRBuilder.h

[IR][Core][NFC] Drop some BranchInst uses (#186352)

Now that CondBrInst and UncondBrInst are explicit subclasses, use them
instead.

HotColdSplitting was trying to inspect prof metadata also on
unconditional branches, fix this.

Also introduce C API cast functions and deprecate LLVMIsConditional in
favor of LLVMIsACondBrInst.

This patch covers all LLVM uses outside of Transforms, Analysis,
CodeGen/Target, SandboxIR, Frontend/OpenMP, tools, examples.
DeltaFile
+25-13llvm/unittests/IR/InstructionsTest.cpp
+7-9llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+8-8llvm/include/llvm-c/Core.h
+6-7llvm/include/llvm/IR/PatternMatch.h
+5-8llvm/unittests/FuzzMutate/OperationsTest.cpp
+6-6llvm/include/llvm/IR/IRBuilder.h
+57-5120 files not shown
+112-11526 files

OPNSense/core 54ed928src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes BaseSetField.php, src/opnsense/mvc/app/models/OPNsense/Unbound/FieldTypes AliasReflector.php

setValues() to BaseSetField, simplify reflector mapper
DeltaFile
+4-15src/opnsense/mvc/app/models/OPNsense/Unbound/FieldTypes/AliasReflector.php
+5-0src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/BaseSetField.php
+9-152 files

LLVM/project 017b9f9llvm/lib/Transforms/InstCombine InstCombineCalls.cpp, llvm/test/Transforms/InstCombine vector-reverse.ll

[InstCombine] Fix crash in `foldReversedIntrinsicOperands` for struct-return intrinsics (#186339)

Fixes #186334 

Similar to #176556 , add the missing result type check in
`foldReversedIntrinsicOperands()`. This prevents `CreateVectorReverse()`
from being applied to struct-returning intrinsics.
DeltaFile
+16-0llvm/test/Transforms/InstCombine/vector-reverse.ll
+2-1llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+18-12 files

FreeBSD/ports c9e2faedatabases/evolution-data-server Makefile, devel/bustle Makefile

*/*: bump PORTREVISION for gtk40 upgrade

The gtk40 port and friends had a binary incompatible upgrade.  Bump
PORTREVISION of their consumers to for rebuild and reinstallation.

PR:             292076
DeltaFile
+1-1devel/bustle/Makefile
+1-1misc/alpaca/Makefile
+1-1databases/evolution-data-server/Makefile
+1-1devel/dorst/Makefile
+1-1devel/gnome-builder/Makefile
+1-1devel/gtranslator/Makefile
+6-65 files not shown
+11-811 files

OpenBSD/ports x0RrERHdatabases/py-lmdb distinfo Makefile

   update to py3-lmdb-1.8.1
VersionDeltaFile
1.8+2-2databases/py-lmdb/distinfo
1.13+1-1databases/py-lmdb/Makefile
+3-32 files

OpenBSD/ports Nnri87otextproc/py-mistune distinfo Makefile

   update to py3-mistune-3.2.0
VersionDeltaFile
1.11+2-2textproc/py-mistune/distinfo
1.28+1-1textproc/py-mistune/Makefile
+3-32 files

OpenBSD/ports fL5sKHotextproc/py-pypandoc Makefile distinfo, textproc/py-pypandoc/pkg PLIST

   update to py3-pypandoc-1.16.2
VersionDeltaFile
1.16+10-7textproc/py-pypandoc/Makefile
1.8+2-2textproc/py-pypandoc/distinfo
1.7+0-3textproc/py-pypandoc/pkg/PLIST
+12-123 files

LLVM/project fbd6d54llvm/lib/Target/AArch64 AArch64ISelDAGToDAG.cpp AArch64SVEInstrInfo.td, llvm/test/CodeGen/AArch64 imm-splat-ops.ll zext-to-tbl.ll

[AArch64] Fold NEON splats into users by using SVE immediates (#165559)

This patch adds patterns that attempt to fold NEON constant splats into
users by promoting the users to use SVE, when the splat immediate is a
legal SVE immediate operand.

This is done as ISEL patterns to avoid folding to SVE too early, which
can disrupt other patterns/combines.
DeltaFile
+320-0llvm/test/CodeGen/AArch64/imm-splat-ops.ll
+92-16llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
+48-50llvm/test/CodeGen/AArch64/zext-to-tbl.ll
+44-0llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
+23-7llvm/test/CodeGen/AArch64/aarch64-smull.ll
+4-4llvm/test/CodeGen/AArch64/reassocmls.ll
+531-772 files not shown
+535-838 files

LLVM/project cf40936llvm/test/CodeGen/AMDGPU llvm.amdgcn.reduce.sub.ll llvm.amdgcn.reduce.umin.ll

Refactor Code:
Logical error in the code, was using the wrong register
to calculate some values.
DeltaFile
+34-34llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.sub.ll
+16-16llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.umin.ll
+16-16llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.add.ll
+16-16llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.and.ll
+16-16llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.max.ll
+16-16llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.min.ll
+114-1145 files not shown
+181-17111 files

LLVM/project 4c14969clang/include/clang/CIR/Dialect/IR CIRAttrs.td CIROps.td, clang/lib/CIR/CodeGen CIRGenModule.cpp

[CIR][CIRGen] Introduce ExtraFuncAttr to FuncOp
DeltaFile
+22-0clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+21-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+12-2clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+11-1clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMIR.cpp
+4-6clang/lib/CIR/CodeGen/CIRGenModule.cpp
+6-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+76-96 files not shown
+92-1212 files

LLVM/project ebb45a2llvm/docs AMDGPUUsage.rst

Comments
DeltaFile
+16-19llvm/docs/AMDGPUUsage.rst
+16-191 files

LLVM/project 526e992llvm/docs AMDGPUUsage.rst

Address comments
DeltaFile
+50-54llvm/docs/AMDGPUUsage.rst
+50-541 files

LLVM/project a16cde8llvm/docs AMDGPUUsage.rst

[AMDGPU][Doc] GFX12.5 Barrier Execution Model

- Document GFX12.5-specific intrinsics.
- Rename signal -> arrive, leave -> drop to match C++ terminology.
- Update execution model to support GFX12.5 semantics (e.g. threads can arrive w/o waiting)
- Various clean-ups & wording updates on the model.
- Added "mutually exclusive" barrier objects.
- Added barrier-phase-with + related constraints.
- Document that barriers can exist at cluster scope too.
- Update GFX12 target semantics/code sequences to include GFX12.5.

The model is no longer marked as incomplete, it is now just experimental.

There are more updates planned in the future to support more features, and
improve some known shortcomings of the model. e.g., currently many relations
encode too much semantic information, which means the model doesn't build
when barriers aren't used correctly. I'd like the model to eventually represent
broken executions as well, just like a memory model can.
DeltaFile
+329-180llvm/docs/AMDGPUUsage.rst
+329-1801 files

LLVM/project bf55243llvm/docs AMDGPUUsage.rst

small fix
DeltaFile
+1-1llvm/docs/AMDGPUUsage.rst
+1-11 files

OPNSense/core 25be324src/opnsense/mvc/app/models/OPNsense/Unbound/FieldTypes AliasReflector.php

switch to BaseSetField for AliasReflector
DeltaFile
+3-3src/opnsense/mvc/app/models/OPNsense/Unbound/FieldTypes/AliasReflector.php
+3-31 files

OpenBSD/ports pZknvqDsecurity/p5-Crypt-OpenSSL-PKCS10 Makefile distinfo, security/p5-Crypt-OpenSSL-PKCS10/patches patch-PKCS10_xs patch-t_Mytest_t

   update to p5-Crypt-OpenSSL-PKCS10-0.37
VersionDeltaFile
1.5+55-47security/p5-Crypt-OpenSSL-PKCS10/patches/patch-PKCS10_xs
1.2+3-7security/p5-Crypt-OpenSSL-PKCS10/patches/patch-t_Mytest_t
1.15+5-1security/p5-Crypt-OpenSSL-PKCS10/Makefile
1.9+2-2security/p5-Crypt-OpenSSL-PKCS10/distinfo
1.2+1-1security/p5-Crypt-OpenSSL-PKCS10/patches/patch-lib_Crypt_OpenSSL_PKCS10_pm
+66-585 files

OpenBSD/ports ab4BnDAsecurity/p5-Crypt-OpenSSL-RSA distinfo Makefile, security/p5-Crypt-OpenSSL-RSA/patches patch-RSA_xs

   update to p5-Crypt-OpenSSL-RSA-0.37
VersionDeltaFile
1.10+0-5security/p5-Crypt-OpenSSL-RSA/pkg/PLIST
1.13+2-2security/p5-Crypt-OpenSSL-RSA/distinfo
1.32+1-2security/p5-Crypt-OpenSSL-RSA/Makefile
1.5+0-0security/p5-Crypt-OpenSSL-RSA/patches/patch-RSA_xs
+3-94 files

OpenBSD/ports dVFM2zXsecurity/p5-Crypt-OpenSSL-EC Makefile distinfo, security/p5-Crypt-OpenSSL-EC/patches patch-EC_xs

   update to p5-Crypt-OpenSSL-EC-1.34
VersionDeltaFile
1.5+10-28security/p5-Crypt-OpenSSL-EC/patches/patch-EC_xs
1.11+3-3security/p5-Crypt-OpenSSL-EC/Makefile
1.4+2-2security/p5-Crypt-OpenSSL-EC/distinfo
+15-333 files

OPNSense/core c634290src/opnsense/mvc/app/models/OPNsense/Unbound/FieldTypes AliasRefCount.php

remove AliasRefCount.php as well
DeltaFile
+0-53src/opnsense/mvc/app/models/OPNsense/Unbound/FieldTypes/AliasRefCount.php
+0-531 files