LLVM/project 4695c84mlir/include/mlir/Dialect/XeGPU/IR XeGPUOps.td, mlir/lib/Dialect/XeGPU/IR XeGPUOps.cpp

[MLIR][XeGPU] Extend op definitions to support 3D+: load_nd, store_nd, prefetch_nd (#199811)

**Summary**
Extend xegpu.load_nd, xegpu.store_nd, and xegpu.prefetch_nd operations
to support 3D and higher-dimensional tensor descriptors with batch
dimensions, enabling batched memory operations for workloads like [4, 8,
16] tensor loads/stores.

  **Changes**
- Verifiers: Removed rank > 2 checks in LoadNdOp::verify() and
StoreNdOp::verify() to allow 3D+ tensor descriptors
- Documentation: Added comprehensive documentation explaining: Tensor
descriptors can be 1D, 2D, 3D, or higher dimensional; Batch dimensions
(leading dimensions) are unrolled to unit dimensions during lowering;
Operations execute at 2D granularity at subgroup level to match 2D block
IO hardware; Examples of 3D operations
- Tests: Added unit tests for 3D operations (load_nd_3d, store_nd_3d,
prefetch_nd_3d)


    [2 lines not shown]
DeltaFile
+61-12mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
+29-0mlir/test/Dialect/XeGPU/ops.mlir
+0-17mlir/test/Dialect/XeGPU/invalid.mlir
+0-6mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
+90-354 files

LLVM/project e75e96allvm/lib/Target/AArch64/GISel AArch64PostLegalizerLowering.cpp, llvm/test/CodeGen/AArch64 cmp-to-cmn.ll fpclamptosat_vec.ll

[AArch64][GlobalISel] Port shouldBeAdjustedToZero to GlobalISel (#195941)
DeltaFile
+80-200llvm/test/CodeGen/AArch64/cmp-to-cmn.ll
+115-64llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
+56-80llvm/test/CodeGen/AArch64/fpclamptosat_vec.ll
+27-15llvm/test/CodeGen/AArch64/arm64-csel.ll
+12-12llvm/test/CodeGen/AArch64/fcvt-i256.ll
+8-8llvm/test/CodeGen/AArch64/fptosi-sat-scalar.ll
+298-3793 files not shown
+310-3909 files

FreeBSD/src a05af6dsys/arm/broadcom/bcm2835 bcm2838_pci.c

pci: bcm2838: cleanup on attach failure to fix devmatch panic

Specifically on the RPi CM4, we currently don't set the controller up
right and it never moves into the ready state (we don't observe the link
active bit).  Failure to cleanup here actually results in a panic not
long after, due to a use-after-free in the rman bits.  Further down in
pci_host_generic, we have some rman stashed in the softc that are
initialized and placed onto the rman tailq, then the softc is later
freed without an rman_fini() to pull them off of the tailq properly.

Note that PCIe on this board won't come up at boot without something
plugged in, so it currently can't be booted with an empty slot with the
intent to hotplug a supported card.  Some issues with controller startup
have been observed with Broadcom NICs in the wild, but no problems have
been observed with other NICs and a variety of different PCIe cards.

Shout-out to Vince <git at darkain.com> for the extensive debugging and
analysis to arrive at this conclusion.


    [2 lines not shown]
DeltaFile
+9-4sys/arm/broadcom/bcm2835/bcm2838_pci.c
+9-41 files

FreeBSD/src 31a94ecsys/dev/pci pci_host_generic_fdt.c pci_host_generic.c

pci: pci_host_generic: provide cleanup methods outside of detach

If device_attach() fails, we're expected to actually cleanup after
ourselves because device_detach() will not be called.  Factor out the
cleanup bits that don't rely on attach having actually succeeded so
that we can cleanup properly in bcm2838_pci.

Reviewed by:    andrew, imp
Differential Revision:  https://reviews.freebsd.org/D56896
DeltaFile
+19-0sys/dev/pci/pci_host_generic_fdt.c
+11-4sys/dev/pci/pci_host_generic.c
+1-0sys/dev/pci/pci_host_generic.h
+1-0sys/dev/pci/pci_host_generic_fdt.h
+32-44 files

FreeBSD/src b230a7bsys/dev/ofw ofw_bus_subr.c ofw_bus_subr.h

kern: ofw: provide ofw_bus_destroy_iinfo to teardown interrupt-map

For symmetry with ofw_bus_setup_iinfo, the next commits will use it to
properly cleanup on failure in bcm2838_pci.

Reviewed by:    andrew
Differential Revision:  https://reviews.freebsd.org/D56895
DeltaFile
+12-0sys/dev/ofw/ofw_bus_subr.c
+1-0sys/dev/ofw/ofw_bus_subr.h
+13-02 files

LLVM/project cdf26f6llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV srem-vector-lkk.ll div-by-constant.ll

[RISCV] Fold (add X, (mulhs X, C)) -> (mulhsu X, C) if C is negative. (#199287)

Improves some division by constant cases.

Based on this blog post
https://needlesscomplexity.substack.com/p/implementing-division-by-multiplying

Correctness proof is sketched out in the comments.
DeltaFile
+109-135llvm/test/CodeGen/RISCV/srem-vector-lkk.ll
+34-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+6-5llvm/test/CodeGen/RISCV/div-by-constant.ll
+2-4llvm/test/CodeGen/RISCV/srem-lkk.ll
+151-1444 files

FreeBSD/ports 981604agames/vcmi pkg-plist Makefile

games/vcmi: update VCMI to version 1.7.4

Optionize video and NLS support as those
features entail additional dependencies.

Reported by:    portscout
DeltaFile
+84-33games/vcmi/pkg-plist
+12-5games/vcmi/Makefile
+3-3games/vcmi/distinfo
+99-413 files

LLVM/project 4e41042clang/include/clang/Analysis/Analyses/LifetimeSafety Origins.h FactsGenerator.h, clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp Origins.cpp

[LifetimeSafety] Track per-field origins for record types
DeltaFile
+315-5clang/test/Sema/warn-lifetime-safety.cpp
+68-37clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+91-6clang/lib/Analysis/LifetimeSafety/Origins.cpp
+17-0clang/include/clang/Analysis/Analyses/LifetimeSafety/Origins.h
+4-6clang/test/Sema/warn-lifetime-safety-dangling-field.cpp
+0-1clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h
+495-556 files

LLVM/project 2c4f01fclang/include/clang/Analysis/Analyses/LifetimeSafety Origins.h FactsGenerator.h, clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp LiveOrigins.cpp

[LifetimeSafety][NFC] Add field-labeled child edges to OriginNode and generalize subtree walks
DeltaFile
+56-24clang/include/clang/Analysis/Analyses/LifetimeSafety/Origins.h
+26-10clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+21-12clang/lib/Analysis/LifetimeSafety/LiveOrigins.cpp
+3-2clang/lib/Analysis/LifetimeSafety/Origins.cpp
+3-0clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h
+1-0clang/lib/Analysis/LifetimeSafety/Facts.cpp
+110-486 files

LLVM/project 1a7662cclang/include/clang/Analysis/Analyses/LifetimeSafety Origins.h, clang/lib/Analysis/LifetimeSafety Origins.cpp

[LifetimeSafety][NFC] Collect accessed fields in a unified pre-scan
DeltaFile
+22-8clang/lib/Analysis/LifetimeSafety/Origins.cpp
+15-4clang/include/clang/Analysis/Analyses/LifetimeSafety/Origins.h
+37-122 files

LLVM/project c17f620llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange reduction2mem-extra-lcssa.ll

[LoopInterchange] Check all inner-exit LCSSA PHIs (#200860)

areInnerLoopExitPHIsSupported() returned true as soon as it saw the
reduction LCSSA PHI, skipping the user-check for any later LCSSA PHIs.
If one had a non-PHI user, legality wrongly succeeded and the transform
hit a cast<PHINode> assertion. Use continue so the remaining PHIs are
still validated.

Fixes #200811.
DeltaFile
+82-0llvm/test/Transforms/LoopInterchange/reduction2mem-extra-lcssa.ll
+3-1llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+85-12 files

OpenBSD/src 7EpZwMOusr.bin/ssh ed25519.sh ed25519.c

   add signature malleability and pubkey validity checks to ed25519
   verification (SSH doesn't depend on these properties)
   Pointed out by Soatok Dreamseeker

   Add an explicit-seed variant of the keygen function.

   feedback / "looks fine" tb@
VersionDeltaFile
1.3+69-5usr.bin/ssh/ed25519.sh
1.5+32-2usr.bin/ssh/ed25519.c
+101-72 files

LLVM/project 4a77ce7llvm/lib/CodeGen SplitKit.cpp, llvm/test/CodeGen/AMDGPU splitkit-getsubrangeformask-phi-extend.ll

[CodeGen][AMDGPU] Remove premature empty subrange elimination (#201263)

This commit removes a call to `removeEmptySubRanges` inside
`SplitEditor::rewriteAssigned` which removes empty subranges that may be
expected at a later stage. The empty subranges are eliminated by a later
call to `removeEmptySubRanges`.

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

---------

Signed-off-by: Steffen Holst Larsen <sholstla at amd.com>
DeltaFile
+1,730-0llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask-phi-extend.ll
+0-1llvm/lib/CodeGen/SplitKit.cpp
+1,730-12 files

OpenBSD/ports 8gRpuhOsysutils/rustic distinfo crates.inc, sysutils/rustic/pkg PLIST

   Update to rustic-0.11.3

   Changes: https://github.com/rustic-rs/rustic/releases/tag/v0.11.3
VersionDeltaFile
1.27+390-234sysutils/rustic/distinfo
1.22+194-116sysutils/rustic/crates.inc
1.33+1-2sysutils/rustic/Makefile
1.10+2-0sysutils/rustic/pkg/PLIST
+587-3524 files

LLVM/project 36e714bllvm/lib/ExecutionEngine/Orc EPCGenericDylibManager.cpp EPCDynamicLibrarySearchGenerator.cpp, llvm/lib/ExecutionEngine/Orc/TargetProcess ExecutorResolver.cpp SimpleExecutorDylibManager.cpp

[ORC] Replace ExecutorSymbolDef with ExecutorAddr in remote lookup. (#201492)

Update DylibManager and associated interfaces to return ExecutorAddrs
for remote symbols, rather than ExecutorSymbolDefs. No clients were
using the flags component of ExecutorSymbolDef, and this brings the
SimpleExecutorDylibManager implementation in OrcTargetProcess into
closer alignment with the NativeDylibManager implementation in the new
ORC runtime.
DeltaFile
+3-6llvm/unittests/ExecutionEngine/Orc/ObjectLinkingLayerTest.cpp
+2-4llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorResolver.cpp
+2-4llvm/lib/ExecutionEngine/Orc/EPCGenericDylibManager.cpp
+2-2llvm/lib/ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.cpp
+2-2llvm/lib/ExecutionEngine/Orc/ExecutorResolutionGenerator.cpp
+1-2llvm/lib/ExecutionEngine/Orc/TargetProcess/SimpleExecutorDylibManager.cpp
+12-205 files not shown
+17-2711 files

NetBSD/pkgsrc YB6i5ekdoc CHANGES-2026

   doc: updated graphics/tkimg to 2.1.1
VersionDeltaFile
1.3488+2-1doc/CHANGES-2026
+2-11 files

LLVM/project a53507fclang/lib/AST/ByteCode Interp.cpp Pointer.h, clang/test/AST/ByteCode cxx20.cpp

[clang][bytecode] Fix a crash with covariant return types (#201354)

`Context::collectBaseOffset()` will assert if the passed-in classes are
the same.
DeltaFile
+15-0clang/test/AST/ByteCode/cxx20.cpp
+6-0clang/lib/AST/ByteCode/Interp.cpp
+2-0clang/lib/AST/ByteCode/Pointer.h
+23-03 files

NetBSD/pkgsrc 5izPQhtgraphics/tkimg distinfo Makefile

   Update to version 2.1.1

   2026/03/04: Version 2.1.1
   Patch release.
       Updated external libraries: JPEG 10.0, PNG 1.6.48, TIFF 4.7.1, ZLIB 1.3.2.
       Fixed FLIR and RAW parser to work correctly on big-endian systems.

   2025/06/22: Version 2.1.0
   Maintenance release.
       Updated external libraries: PNG 1.6.48.
       Improved RAW image handler to handle all data types correctly.
       Fixed bug compiling with MSYS2/Clang64.
VersionDeltaFile
1.2+4-4graphics/tkimg/distinfo
1.3+2-2graphics/tkimg/Makefile
+6-62 files

LLVM/project 9e7053bflang/lib/Lower/OpenMP OpenMP.cpp, flang/test/Lower/OpenMP metadirective-loop.f90

Fix metadirective loop variant lowering

Preserve the associated DO evaluation when a dynamic metadirective can
select either a loop-associated directive or a standalone fallback, so
the fallback still lowers the original loop body.

Scope temporary loop-IV data-sharing attributes to the selected variant.
Use the selected variant's collapse clause to determine how many loop IVs
to mark, avoiding DSA state leaking between alternatives.
DeltaFile
+84-23flang/lib/Lower/OpenMP/OpenMP.cpp
+49-1flang/test/Lower/OpenMP/metadirective-loop.f90
+133-242 files

LLVM/project 1476d8bflang/lib/Lower/OpenMP OpenMP.cpp DataSharingProcessor.cpp, flang/test/Lower/OpenMP metadirective-loop.f90

[flang][OpenMP] Support loop-associated metadirective variants (part 3)

Enable metadirective lowering for loop-associated variants such as
`do`, `simd`, `parallel do`, and `do simd`.

When a metadirective resolves to a loop-associated directive, the
sibling DO evaluation is spliced into the metadirective's evaluation
list so existing loop lowering finds it. Loop IV data-sharing
attributes are marked at lowering time since semantic analysis cannot
know which variant will be selected. The DataSharingProcessor is also
extended to handle spliced evaluations.

This patch is part of the feature work for #188820 and stacked on top
of #194424.

Assisted with copilot and GPT-5.4
DeltaFile
+203-0flang/test/Lower/OpenMP/metadirective-loop.f90
+100-1flang/lib/Lower/OpenMP/OpenMP.cpp
+83-2flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
+15-0flang/test/Lower/OpenMP/Todo/metadirective-target-loop.f90
+14-0flang/lib/Lower/OpenMP/Utils.cpp
+12-0flang/test/Lower/OpenMP/Todo/metadirective-no-loop.f90
+427-32 files not shown
+429-158 files

LLVM/project 70256dfflang/lib/Lower/OpenMP OpenMP.cpp Utils.cpp, flang/test/Lower/OpenMP metadirective-user.f90

[flang][OpenMP] Support lowering of metadirective (part 2) (#194424)

Lower non-constant `user={condition(expr)}` selectors in OpenMP
metadirectives to a runtime `fir.if` / `else` selection cascade.

Dynamic user conditions are handled in two separate phases:

- Static applicability uses only selector traits that are known at
compile time.
- Guarded ranking preserves selector specificity and dynamic-condition
scores for the path where the runtime condition evaluates to true.

Lowering first filters candidates using compile-time selector traits,
then orders the remaining candidates with the normal OpenMP variant
ranking rules. If the selected candidate has a non-constant user
condition, that condition is emitted as a `fir.if` guard. When the
condition evaluates to false, the `else` branch continues selection
among the remaining candidates.


    [57 lines not shown]
DeltaFile
+460-1flang/test/Lower/OpenMP/metadirective-user.f90
+198-24flang/lib/Lower/OpenMP/OpenMP.cpp
+20-17flang/lib/Lower/OpenMP/Utils.cpp
+12-7flang/lib/Lower/OpenMP/Utils.h
+0-10flang/test/Lower/OpenMP/Todo/metadirective-dynamic.f90
+7-0flang/test/Semantics/OpenMP/metadirective-user.f90
+697-596 files

LLVM/project 9b89e88llvm/include/llvm/IR Intrinsics.td, llvm/lib/CodeGen/GlobalISel IRTranslator.cpp

[RFC][CodeGen] Add generic target feature checks for intrinsics

This PR adds target-independent infrastructure for annotating LLVM intrinsics
with required subtarget feature expressions.

It introduces a TargetFeatures string field to intrinsic TableGen records.
TableGen emits an intrinsic-to-feature mapping table.

Both SelectionDAG and GlobalISel now perform this check before lowering target
intrinsics. This allows targets to opt in by annotating intrinsic definitions
directly, rather than adding custom checks during lowering, legalization, or
instruction selection.

This PR uses one AMDGPU intrinsic as an example.
DeltaFile
+92-0llvm/lib/MC/MCSubtargetInfo.cpp
+51-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+33-1llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp
+28-0llvm/test/TableGen/intrinsic-target-features.td
+24-0llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+13-0llvm/include/llvm/IR/Intrinsics.td
+241-110 files not shown
+278-516 files

LLVM/project 84085aamlir/lib/Dialect/Linalg/Transforms Specialize.cpp, mlir/test/Dialect/Linalg roundtrip-morphism-linalg-named-ops.mlir roundtrip-morphism-linalg-category-ops.mlir

[mlir][linalg] Improve contraction specialization (#201300)

Extend the matcher to recognize additional supported boolean contraction
form(and+or). Fixes #198235.
DeltaFile
+20-9mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp
+18-0mlir/test/Dialect/Linalg/roundtrip-morphism-linalg-named-ops.mlir
+16-0mlir/test/Dialect/Linalg/roundtrip-morphism-linalg-category-ops.mlir
+54-93 files

FreeBSD/src 0696d38sys/amd64/amd64 machdep.c

amd64/machdep.c: explicitly include sys/uio.h

Some kernel configurations result in struct uio being only
forward-declared.

This is direct commit to stable/15.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-0sys/amd64/amd64/machdep.c
+1-01 files

LLVM/project 97d7264llvm/lib/Transforms/IPO MemProfContextDisambiguation.cpp, llvm/test/ThinLTO/X86 memprof-icp-recursive.ll

[MemProf] Change default of memprof-icp-noinline-threshold to 0 (#201474)

This is no longer needed after PR172502 added support to identify
indirect callees from inlined frames.
DeltaFile
+7-7llvm/test/ThinLTO/X86/memprof-icp-recursive.ll
+1-1llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
+8-82 files

LLVM/project 9263a42clang/test/OpenMP target_codegen.cpp target_simd_codegen.cpp, llvm/include/llvm/Frontend/Offloading Utility.h

[OpenMP] Use ext linkage for kernels handles and globals handles keep… (#200964)

… linkage

Host handles are now emmitted with external linkage to clash if two
kernels with the same name are registered. This could have happen right
now and silently corrupt the program, but it can happen more easily once
we allow users to name their kernels.

In the same patch we make global variable handles retain the linkage of
the global variable, forcing clashes for external ones and continue to
support weak use cases.

---------

Co-authored-by: Shilei Tian <i at tianshilei.me>
DeltaFile
+11-11clang/test/OpenMP/target_codegen.cpp
+8-8mlir/test/Target/LLVMIR/omptarget-declare-target-llvm-host.mlir
+8-8clang/test/OpenMP/target_simd_codegen.cpp
+7-6llvm/lib/Frontend/Offloading/Utility.cpp
+4-4llvm/include/llvm/Frontend/Offloading/Utility.h
+4-4clang/test/OpenMP/target_indirect_codegen.cpp
+42-4114 files not shown
+70-6820 files

LLVM/project f0d98c3clang-tools-extra/clang-tidy/readability FunctionSizeCheck.cpp FunctionSizeCheck.h, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy][readability] Ignore macros in function-size check (#199549)

This patch adds an IgnoreMacros option to the readability-function-size
check.

Fixes https://github.com/llvm/llvm-project/issues/112835
DeltaFile
+71-0clang-tools-extra/test/clang-tidy/checkers/readability/function-size-ignore-macros.cpp
+27-10clang-tools-extra/clang-tidy/readability/FunctionSizeCheck.cpp
+5-0clang-tools-extra/docs/clang-tidy/checks/readability/function-size.rst
+5-0clang-tools-extra/docs/ReleaseNotes.rst
+5-0clang-tools-extra/clang-tidy/readability/FunctionSizeCheck.h
+113-105 files

FreeBSD/ports e23d622sysutils/rubygem-openbolt distinfo Makefile, sysutils/rubygem-openbolt/files patch-openbolt.gemspec

sysutils/rubygem-openbolt: Update to 5.5.0

ChangeLog:
https://github.com/OpenVoxProject/openbolt/blob/main/CHANGELOG.md#550-2026-04-30

With hat:       puppet
DeltaFile
+3-3sysutils/rubygem-openbolt/distinfo
+3-3sysutils/rubygem-openbolt/files/patch-openbolt.gemspec
+3-2sysutils/rubygem-openbolt/Makefile
+9-83 files

FreeBSD/ports 7e0bc5bsysutils/choria distinfo Makefile, sysutils/choria/files patch-vendor_modules.txt

sysutils/choria: Update to 0.30.0

Release notes:
https://github.com/choria-io/go-choria/releases/tag/v0.30.0

With hat:       puppet
DeltaFile
+987-0sysutils/choria/files/patch-vendor_modules.txt
+225-165sysutils/choria/distinfo
+124-88sysutils/choria/Makefile
+1,336-2533 files

FreeBSD/ports 84aa677sysutils/rubygem-choria-mcorpc-support Makefile, sysutils/rubygem-choria-mcorpc-support/files patch-lib_mcollective_monkey__patches.rb

sysutils/rubygem-choria-mcorpc-support: Fix with latest Ruby

While here remove explicit dependency on sysutils/choria.

This gem is now a run-time dependency of OpenBolt, but choria itself is
not required for using OpenBolt.  So do not install choria as a
dependency of this gem automatically to avoid downloading large
dependencies when unneeded.

With hat:       puppet
DeltaFile
+33-0sysutils/rubygem-choria-mcorpc-support/files/patch-lib_mcollective_monkey__patches.rb
+2-2sysutils/rubygem-choria-mcorpc-support/Makefile
+35-22 files