LLVM/project 13b7f5dmlir/lib/Dialect/MemRef/Transforms FoldMemRefAliasOps.cpp, mlir/test/Dialect/MemRef fold-memref-alias-ops.mlir

[mlir][MemRef] Make fold-memref-alias-ops use memref interfaces

This replaces the large switch-cases and operation-specific patterns
in FoldMemRefAliashops with patterns that use the new
IndexedAccessOpInterface and IndexedMemCopyOpInterface, which will
allow us to remove the memref transforms' dependency on the NVGPU
dialect.

This does also resolve some bugs and potential unsoundnesses:
1. We will no longer fold in expand_shape into vector.load or
vector.transfer_read in cases where that would alter the strides
between dimensions in multi-dimensional loads. For example, if we have
a `vector.load %e[%i, %j, %k] : memref<8x8x9xf32>, vector<2x3xf32>`
where %e is
`expand_shape %m [[0], [1], [2. 3]] : memref<8x8x3x3xf32> to 8x8x9xf32,
we will no longer fold in that shape, since that would change which
value would be read (the previous patterns tried to account for this
but failed).
2. Subviews that have non-unit strides in positions that aren't being

    [15 lines not shown]
DeltaFile
+401-436mlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp
+292-1mlir/test/Dialect/MemRef/fold-memref-alias-ops.mlir
+693-4372 files

LLVM/project ec76473mlir/include/mlir/Interfaces VectorInterfaces.td VectorInterfaces.h

[mlir] Add [may]updateStartingPosition to VectorTransferOpInterface

This commit adds methods to VectorTransferOpInterface that allow
transfer operations to be queried for whether their base memref (or
tensor) and permutation map can be updated in some particular way and
then for performing this update. This is part of a series of changes
designed to make passes like fold-memref-alias-ops more generic,
allowing downstream operations, like IREE's transfer_gather, to
participate in them without needing to duplicate patterns.
DeltaFile
+67-1mlir/include/mlir/Interfaces/VectorInterfaces.td
+1-0mlir/include/mlir/Interfaces/VectorInterfaces.h
+68-12 files

LLVM/project 89d82dfmlir/include/mlir/Dialect/MemRef/IR MemRefOps.td, mlir/include/mlir/Dialect/NVGPU/IR NVGPUOps.td

[mlir] Implement indexed access op interfaces for memref, vector, gpu, nvgpu

This commit implements the IndexedAccessOpInterface and
IndexedMemCopyInterface for all operations in the memref and vector
dialects that it would appear to apply to. It follows the code in
FoldMemRefAliasOps and ExtractAddressComputations to define the
interface implementations. This commit also adds the interface to the
GPU subgroup MMA load and store operations and to any NVGPU operations
currently being handled by the in-memref transformations (there may be
more suitable operations in the NVGPU dialect, but I haven't gone
looking systematically)

This code will be tested by a later commit that updates
fold-memref-alias-ops.

Assisted-by: Claude Code, Cursor (interface boilerplate, sketching out
implementations)
DeltaFile
+162-0mlir/lib/Dialect/Vector/Transforms/IndexedAccessOpInterfaceImpl.cpp
+66-64mlir/include/mlir/Dialect/NVGPU/IR/NVGPUOps.td
+115-0mlir/lib/Dialect/GPU/Transforms/IndexedAccessOpInterfaceImpl.cpp
+81-18mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
+90-0mlir/lib/Dialect/NVGPU/Transforms/MemoryAccessOpInterfacesImpl.cpp
+36-8mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
+550-9015 files not shown
+678-9621 files

LLVM/project a38ac09clang/include/clang/Basic DiagnosticGroups.td DiagnosticSemaKinds.td

Reorganise permissive and strict diagnostic groups
DeltaFile
+59-12clang/include/clang/Basic/DiagnosticGroups.td
+7-10clang/include/clang/Basic/DiagnosticSemaKinds.td
+66-222 files

LLVM/project e1da082clang/include/clang/Analysis/Analyses/LifetimeSafety Facts.h, clang/lib/Analysis/LifetimeSafety Checker.cpp LifetimeAnnotations.cpp

use-after-invalidation
DeltaFile
+320-0clang/test/Sema/warn-lifetime-safety-invalidations.cpp
+70-5clang/lib/Analysis/LifetimeSafety/Checker.cpp
+72-0clang/lib/Analysis/LifetimeSafety/LifetimeAnnotations.cpp
+26-1clang/test/Sema/Inputs/lifetime-analysis.h
+25-0clang/include/clang/Analysis/Analyses/LifetimeSafety/Facts.h
+13-0clang/lib/Sema/AnalysisBasedWarnings.cpp
+526-69 files not shown
+579-815 files

LLVM/project 28de74ellvm/test/Transforms/SeparateConstOffsetFromGEP negative-i32-offset.ll

Fix additional regression test.
DeltaFile
+2-3llvm/test/Transforms/SeparateConstOffsetFromGEP/negative-i32-offset.ll
+2-31 files

LLVM/project 4c63510clang/test/SemaCXX warn-thread-safety-analysis.cpp

Thread Safety Analysis: Add literal-based alias test (#179041)

Add a simple literal-based alias test that shows that the recently fixed
value-based literal comparison works when resolving aliases.

NFC.
DeltaFile
+13-0clang/test/SemaCXX/warn-thread-safety-analysis.cpp
+13-01 files

LLVM/project cdab38fpolly/lib/External/isl isl_map_simplify.c isl_box.c, polly/lib/External/isl/interface extract_interface.cc

[Polly] Update isl to isl-0.27-77-g99a07a03 (#179350)

Update isl to include
https://repo.or.cz/isl.git/commit/99a07a039237f11bccc1ef80a7b6cc76ae5f98c5
which fixes #177808

Thanks @skimo-openhub for the fix and @Andarwinux for the crash report

Fixes: #177808
DeltaFile
+478-89polly/lib/External/isl/isl_map_simplify.c
+54-418polly/lib/External/isl/interface/extract_interface.cc
+425-0polly/lib/External/isl/interface/include/isl-interface/clang_wrap.h
+207-22polly/lib/External/isl/isl_box.c
+0-58polly/lib/External/isl/isl_test.c
+54-0polly/lib/External/isl/isl_test2.cc
+1,218-58726 files not shown
+1,483-63232 files

LLVM/project 350b138llvm/lib/Transforms/Vectorize VPlan.h

[VPlan] Improve code around ArrayRef construction (NFC) (#179191)

DeltaFile
+20-25llvm/lib/Transforms/Vectorize/VPlan.h
+20-251 files

FreeBSD/ports 2de5165databases/gom distinfo Makefile

databases/gom: update to 0.5.5

0.5.5
-----
- Fix some gi-doc annotations
- Build system fixes
- Improve unit tests

PR:             290754
MFH:            2026Q1
(cherry picked from commit 68550161e50c54e589816746ea6a610dc33bc66b)
DeltaFile
+3-3databases/gom/distinfo
+1-1databases/gom/Makefile
+4-42 files

FreeBSD/ports d6c4b06archivers/file-roller Makefile distinfo, archivers/file-roller/files patch-src_fr-command-tar.c patch-src_fr-command-7z.c

archivers/file-roller: update to 44.6

Update file-roller to version 44.6.

Trim LIB_DEPENDS. (truckman)

PR:             290387
(cherry picked from commit 0a08fff16207f5e89a1b7dd2158e175eb376ca5a)
DeltaFile
+39-12archivers/file-roller/files/patch-src_fr-command-tar.c
+8-16archivers/file-roller/Makefile
+0-16archivers/file-roller/files/patch-src_fr-command-7z.c
+3-3archivers/file-roller/distinfo
+1-1archivers/file-roller/pkg-plist
+51-485 files

FreeBSD/ports d8a9749x11-toolkits/libpanel distinfo Makefile

x11-toolkits/libpanel: update to 1.10.3

libpanel 1.10.3
===============

 * Improve save-changes dialog to always show discard all option
 * Translation updates

PR:             290755
MFH:            2026Q1
(cherry picked from commit e212d47eac23f8b4971d1323dcd1e5a100f98378)
DeltaFile
+3-3x11-toolkits/libpanel/distinfo
+1-1x11-toolkits/libpanel/Makefile
+1-0x11-toolkits/libpanel/pkg-plist
+5-43 files

LLVM/project cfe5d8bllvm/test/CodeGen/AMDGPU isel-amdgcn-cs-chain-intrinsic-w32.ll isel-amdgcn-cs-chain-intrinsic-w64.ll

[AMDGPU] Allow hoising of V_READFIRSTLANE_B32 for uniform operand

readfirstlane can be moved across control flow for uniform inputs.
The MachineInstr::NoConvergent attribute allows hoisting
which is otherwise prohibited for a convergent instruction.
DeltaFile
+82-82llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w32.ll
+52-52llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w64.ll
+24-24llvm/test/CodeGen/AMDGPU/llvm.amdgcn.make.buffer.rsrc.ll
+33-0llvm/test/CodeGen/AMDGPU/readanylane.ll
+16-16llvm/test/CodeGen/AMDGPU/isel-amdgpu-cs-chain-intrinsic-dyn-vgpr-w32.ll
+5-5llvm/test/CodeGen/AMDGPU/dag-preserve-disjoint-flag.ll
+212-1796 files not shown
+229-18412 files

NetBSD/pkgsrc sSwssAXdoc CHANGES-2026

   doc: Updated lang/ghc98 to 9.8.2nb3
VersionDeltaFile
1.854+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 6XXuKQBlang/ghc98 distinfo Makefile, lang/ghc98/patches patch-libraries_text_cbits_measure__off.c

   ghc98: remove AVX workaround for NetBSD 11+

   Problem has been fixed as part of PR 57661.

   Bump PKGREVISION.
VersionDeltaFile
1.2+13-6lang/ghc98/patches/patch-libraries_text_cbits_measure__off.c
1.19+2-2lang/ghc98/distinfo
1.13+2-2lang/ghc98/Makefile
+17-103 files

NetBSD/pkgsrc-wip 0486c05urlwatch Makefile

wip/urlwatch: depends on misc/py-platformdirs
DeltaFile
+1-0urlwatch/Makefile
+1-01 files

FreeBSD/ports fe2c97acomms/py-streamdeck distinfo Makefile

comms/py-streamdeck: Update to version 0.9.8

ChangeLog:
https://github.com/abcminiuser/python-elgato-streamdeck/blob/0.9.8/CHANGELOG

Approved by:    eduardo (mentor, implicit)
MFH:            2026Q1

(cherry picked from commit 12d307f3fb3fbd93c2747b14df5e62543ed33e4e)
DeltaFile
+3-3comms/py-streamdeck/distinfo
+1-1comms/py-streamdeck/Makefile
+4-42 files

LLVM/project 28d900allvm/include/llvm/CodeGen SelectionDAGNodes.h, llvm/lib/CodeGen/SelectionDAG InstrEmitter.cpp SelectionDAGDumper.cpp

Add SDNodeFlag::NoConvergent
DeltaFile
+6-1llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+3-0llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
+3-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
+12-13 files

FreeBSD/src a2a9a77crypto/heimdal/kdc mit_dump.c

heimdal: Pass the correct pointer to realloc when growing a string buffer

The realloc in my_fgetln was trying to grow the pointer to the string
buffer, not the string buffer itself.

In function 'my_fgetln',
    inlined from 'mit_prop_dump' at crypto/heimdal/kdc/mit_dump.c:156:19:
crypto/heimdal/kdc/mit_dump.c:119:13: error: 'realloc' called on unallocated object 'line' [-Werror=free-nonheap-object]
  119 |         n = realloc(buf, *sz + (*sz >> 1));
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crypto/heimdal/kdc/mit_dump.c: In function 'mit_prop_dump':
crypto/heimdal/kdc/mit_dump.c:139:11: note: declared here
  139 |     char *line = NULL;
      |           ^~~~

Reviewed by:    rmacklem, cy
Fixes:          a93e1b731ae4 ("heimdal-kadmin: Add support for the -f dump option")
Differential Revision:  https://reviews.freebsd.org/D54933

(cherry picked from commit 03d8ac948b1ad9c419b294c3129b7da58d818363)
DeltaFile
+1-1crypto/heimdal/kdc/mit_dump.c
+1-11 files

FreeBSD/src fc0c921sys/dev/iicbus iicbb.c

iicbb: Fix gcc12 complaint

So gcc12 doesn't understand that t->udelay is >= 1, so thinks that noack
might be unset sometimes. While we specifically constrain this on direct
assignment, there's a sysctl that might not. This is likely also a bug.
Instead of uglifying everything by using MAX(1, sc->udelay), I rewrote
the for loop as a do-while loop (which arguably dictates intent better
because this code clearly assumes it will be executed once).

Sponsored by:           Netflix

(cherry picked from commit 4b301f7e7ab43bb61561786c2ab33f3a3c4a725d)
DeltaFile
+4-3sys/dev/iicbus/iicbb.c
+4-31 files

LLVM/project 2fefdd2llvm/test/CodeGen/AMDGPU isel-amdgcn-cs-chain-intrinsic-w32.ll isel-amdgcn-cs-chain-intrinsic-w64.ll

[AMDGPU] Allo hoising of V_READFIRSTLANE_B32 for uniform operand

readfirstlane can be moved across control flow for uniform inputs.
The MachineInstr::NoConvergent attribute allows hoisting
which is otherwise prohibited for a convergent instruction.
DeltaFile
+82-82llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w32.ll
+52-52llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w64.ll
+24-24llvm/test/CodeGen/AMDGPU/llvm.amdgcn.make.buffer.rsrc.ll
+33-0llvm/test/CodeGen/AMDGPU/readanylane.ll
+16-16llvm/test/CodeGen/AMDGPU/isel-amdgpu-cs-chain-intrinsic-dyn-vgpr-w32.ll
+5-5llvm/test/CodeGen/AMDGPU/dag-preserve-disjoint-flag.ll
+212-1799 files not shown
+241-18515 files

LLVM/project 0c07203llvm/test/Transforms/LowerMatrixIntrinsics multiply-fused-dominance.ll

[Matrix] Add test where pointer phi currently blocks tiling.

Add a test with a phi node currently unnecessarily preventing tiling.
DeltaFile
+49-0llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-dominance.ll
+49-01 files

FreeBSD/src 4bfb7cfusr.bin/runat runat.c

runat: Add -h to manipulate a symlink's named attribute dir

Lionel Cons <lionelcons1972 at gmail.com> requested
that a new option be added to runat(1) so that it could
be used to manipulate named attributes associated with
a symbolic link and not the file the symbolic link refers to).

This patch adds the option -h/--nofollow to do this.

Requested by:   Lionel Cons <lionelcons1972 at gmail.com>
Reviewed by:    kib
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D55023
DeltaFile
+28-7usr.bin/runat/runat.c
+28-71 files

LLVM/project c3a2597compiler-rt/lib/scudo/standalone primary64.h

[scudo] Add resident pages info to getStats (#178969)

Adding resident pages field to the primary allocator's getStats function
makes it consistent with the secondary allocator's getStats function.
DeltaFile
+6-1compiler-rt/lib/scudo/standalone/primary64.h
+6-11 files

FreeBSD/ports 12d307fcomms/py-streamdeck distinfo Makefile

comms/py-streamdeck: Update to version 0.9.8

ChangeLog:
https://github.com/abcminiuser/python-elgato-streamdeck/blob/0.9.8/CHANGELOG

Approved by:    eduardo (mentor, implicit)
MFH:            2026Q1
DeltaFile
+3-3comms/py-streamdeck/distinfo
+1-1comms/py-streamdeck/Makefile
+4-42 files

LLVM/project b737725llvm/include/llvm/Transforms/IPO Attributor.h, llvm/lib/Passes PassBuilderPipelines.cpp

Attributor: Add -light otions to -attributor-enable flag

Add light, module-light, and cgscc-light options. This just
supplements the existing flag to use the light variants of the
pass in place of the full versions.

Way back when attributor-light was added in 400fde92963588ae2b,
there was no way to change the pass pipeline to use it. There
were some benchmarks posted, but I don't see precisely how it
was benchmarked in the pipeline.

I'm also surprised this option is only additive, and doesn't remove
FunctionAttrs. If this is to be the option to drive the enablement,
I would expect it to not run the old passes.
DeltaFile
+24-0llvm/test/Other/opt-pipeline-attributor-enable.ll
+10-0llvm/lib/Passes/PassBuilderPipelines.cpp
+5-1llvm/include/llvm/Transforms/IPO/Attributor.h
+39-13 files

OpenZFS/src 7e33476config kernel-mm-page-flags.m4, include/os/linux/kernel/linux dcache_compat.h

Fix build for Linux 6.18 with PowerPC/RISC-V kernels. (#18145)

The macro 'flush_dcache_page(...)' modifies the page flags, but in Linux
6.18 the type of the page flags changed from 'unsigned long' to the
struct type 'memdesc_flags_t' with a single member 'f' which is the page
flags field.

Signed-off-by: Erik Larsson <catacombae at gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tino Reichardt <milky-zfs at mcmilk.de>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
DeltaFile
+27-0config/kernel-mm-page-flags.m4
+15-4include/os/linux/kernel/linux/dcache_compat.h
+42-42 files

LLVM/project e8f22b8llvm/lib/Target/AMDGPU AMDGPURegBankLegalize.cpp, llvm/test/CodeGen/AMDGPU llvm.is.fpclass.ll llvm.is.fpclass.f16.ll

[AMDGPU][GlobalISel] Add COPY_SCC_VCC combine for VCC-SGPR-VGPR pattern

Eliminate VCC->SGPR->VGPR bounce created by UniInVcc when the uniform boolean
result is consumed by a VALU instruction that requires the input in VGPRs.
DeltaFile
+83-207llvm/test/CodeGen/AMDGPU/llvm.is.fpclass.ll
+43-103llvm/test/CodeGen/AMDGPU/llvm.is.fpclass.f16.ll
+30-50llvm/test/CodeGen/AMDGPU/GlobalISel/regbanklegalize-eliminate-copy-scc-vcc.mir
+60-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalize.cpp
+216-3604 files

LLVM/project d31b259llvm/test/CodeGen/AMDGPU/GlobalISel regbanklegalize-eliminate-copy-scc-vcc.mir

[AMDGPU][NFC] Pre-commit test for COPY_SCC_VCC combine
DeltaFile
+333-0llvm/test/CodeGen/AMDGPU/GlobalISel/regbanklegalize-eliminate-copy-scc-vcc.mir
+333-01 files

LLVM/project 7a2d46cllvm/lib/IR AutoUpgrade.cpp, llvm/test/Verifier issue176674.ll issue176674_1.ll

Revert "[AutoUpgrade] Prevent deletion of call if uses still exist (#177606)" (#179340)

This reverts commit 3007e2f050bd36e5e8dab68a5c9abbfbf4561314 (#177606)

Buildbot:

```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[9/137] Linking CXX shared module unittests/Passes/Plugins/TestPlugin.so
[10/137] Linking CXX executable bin/llvm-config
[11/137] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/AutoUpgrade.cpp.o
[12/137] Linking CXX static library lib/libLLVMCore.a
[13/137] Generating VCSVersion.inc
[14/135] Linking CXX executable bin/apinotes-test
[15/135] Linking CXX executable bin/llvm-cxxmap
[16/135] Linking CXX executable bin/llvm-bcanalyzer
[17/135] Linking CXX executable bin/llvm-ctxprof-util
[18/135] Linking CXX executable bin/llvm-objcopy

    [6 lines not shown]
DeltaFile
+25-40llvm/lib/IR/AutoUpgrade.cpp
+0-9llvm/test/Verifier/issue176674.ll
+0-9llvm/test/Verifier/issue176674_1.ll
+25-583 files