LLVM/project 7c30772llvm/test/CodeGen/AArch64 st1-lane.ll arm64-neon-2velem.ll

[AArch64][GlobalISel] Lower unmerge to extract_subvector (#195046)

This follows and reuses the existing lowering for unmerge -> extract
vector element, extending it to also lower unmerge -> subvector extract
for half-sized vector extracts. This allows certain tablegen patterns to
match.

An extra extract_subvector(dup) combine is needed to optimize away
unnecessary instructions. The ext vs mov/dup brings us in-line with
SDAG, but we may change both to use mov/dup.
DeltaFile
+42-90llvm/test/CodeGen/AArch64/st1-lane.ll
+65-65llvm/test/CodeGen/AArch64/arm64-neon-2velem.ll
+52-54llvm/test/CodeGen/AArch64/neon-extadd.ll
+36-36llvm/test/CodeGen/AArch64/arm64-neon-2velem-high.ll
+25-46llvm/test/CodeGen/AArch64/highextractbitcast.ll
+20-42llvm/test/CodeGen/AArch64/arm64-extract_subvector.ll
+240-33336 files not shown
+548-66442 files

LLVM/project e4e4198compiler-rt/lib/asan asan_linux.cpp asan_malloc_linux.cpp

[NFCI] clarify that asan-*linux.cpp files affect *nix OS'es (#195565)

**Prior Work:** Aims to supersede (#132263), which seems inactive,
specifically by applying my own comment:
https://github.com/llvm/llvm-project/pull/132263#issuecomment-3051238734

**Context:** It aims to minimally document that the
`asan_(malloc_)?linux.cpp` files may impact non-linux OS'es (despite the
name) such as Solaris, BSD, and other *nix OS'es. This is worth
documenting as otherwise we risk breakage due to confusion, as occurred
[here](https://github.com/llvm/llvm-project/pull/131975#issuecomment-2741097471).

This is done simply by minimally augmenting the file header comment
saying precisely this.
Unlike the prior PR, this does not rename any files, which should reduce
the 'git noise' impact of this change.

_Thanks!_
DeltaFile
+1-1compiler-rt/lib/asan/asan_linux.cpp
+1-1compiler-rt/lib/asan/asan_malloc_linux.cpp
+2-22 files

FreeBSD/ports 1840f95devel/py-python-discovery distinfo Makefile

devel/py-python-discovery: Update to 1.3.0

ChangeLog:      https://github.com/tox-dev/python-discovery/compare/1.2.2...1.3.0
Reported by:    Bernát Gábor <notifications at github.com>
DeltaFile
+3-3devel/py-python-discovery/distinfo
+1-1devel/py-python-discovery/Makefile
+4-42 files

LLVM/project ab7cec9llvm/lib/Transforms/InstCombine InstCombineCalls.cpp, llvm/test/Transforms/InstCombine assume.ll

[InstCombine] Remove redundant assume fold (#195852)

The fold is fully redundant with the fold using `computeKnownBits`, so
we can let that do the work instead.
DeltaFile
+1-6llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+0-1llvm/test/Transforms/InstCombine/assume.ll
+1-72 files

LLVM/project 6c797ebllvm/lib/Target/AArch64 AArch64SchedC1Premium.td, llvm/test/tools/llvm-mca/AArch64/Cortex C1Premium-sve-instructions.s C1Premium-writeback.s

Merge branch 'main' into users/eas/vplan-based-first-lane-only-scalarize
DeltaFile
+6,873-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-sve-instructions.s
+3,979-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-writeback.s
+3,163-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-neon-instructions.s
+2,565-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-forwarding.s
+2,523-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-basic-instructions.s
+2,348-0llvm/lib/Target/AArch64/AArch64SchedC1Premium.td
+21,451-0771 files not shown
+40,147-7,253777 files

FreeBSD/ports 1bdb1e7devel/ruby-build distinfo Makefile

devel/ruby-build: Update to 20260503

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

LLVM/project 176dff4lldb/source/Host/common File.cpp

[lldb][windows] fix cross DLL file descriptor lookup crash (#195855)

On Windows, file descriptors are only valid in the same DLL: they are
really just handles mapped to an index in a table in the CRT. Calling a
liblldb method with a file descriptor from lldb-dap will cause the
program to crash. See
https://github.com/llvm/llvm-project/issues/193971.

This patch fixes the issue by refactoring the `NativeFile` constructors
so that they no longer try to convert `FILE` types to handles through
the CRT lookup table.
DeltaFile
+22-5lldb/source/Host/common/File.cpp
+22-51 files

FreeBSD/ports fe91b9bwww/tomcat-devel distinfo Makefile

www/tomcat-devel: Update 11.0.21 => 11.0.22

Changelog:
https://tomcat.apache.org/tomcat-11.0-doc/changelog.html#Tomcat_11.0.22_(markt)

Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+3-3www/tomcat-devel/distinfo
+1-1www/tomcat-devel/Makefile
+4-42 files

FreeBSD/ports eb3878ewww/tomcat110 distinfo Makefile

www/tomcat110: Update 11.0.21 => 11.0.22

Changelog:
https://tomcat.apache.org/tomcat-11.0-doc/changelog.html#Tomcat_11.0.22_(markt)

Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+3-3www/tomcat110/distinfo
+1-1www/tomcat110/Makefile
+4-42 files

FreeBSD/ports 8a08f2asecurity/vuxml/vuln 2026.xml

security/vuxml: Add devel/ocaml-opam (CVE-2026-41082)

Reviewed by:    osa, vvd (mentors)
Approved by:    vvd (co-mentor)
Differential Revision: https://reviews.freebsd.org/D56834
DeltaFile
+28-0security/vuxml/vuln/2026.xml
+28-01 files

LLVM/project 6f5570cllvm/test/CodeGen/AMDGPU llvm.amdgcn.rsq.ll llvm.amdgcn.rsq.clamp.ll

[AMDGPU][NFC] Autogenerate check lines for llvm.amdgcn.rsq.clamp.ll and llvm.amdgcn.rsq.ll (#195867)
DeltaFile
+128-16llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.ll
+60-23llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.clamp.ll
+188-392 files

LLVM/project ea6b7f8llvm/lib/Transforms/InstCombine InstCombineCalls.cpp

[InstCombine][NFC] Use CreateAssumption instead of CreateCall (#195862)
DeltaFile
+4-9llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+4-91 files

FreeBSD/src 0627136lib/libusb libusb10.c

libusb: fix incorrect status type when completion on cancel the events

Reviewed by:    lwhsu, markj
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51736
DeltaFile
+2-2lib/libusb/libusb10.c
+2-21 files

OPNSense/core 5236fb4src/opnsense/mvc/app/views/OPNsense/IPsec connections.volt

ipsec: content boxes and vertical border in split md view
DeltaFile
+16-5src/opnsense/mvc/app/views/OPNsense/IPsec/connections.volt
+16-51 files

LLVM/project f23c407llvm/lib/CodeGen PeepholeOptimizer.cpp, llvm/test/CodeGen/AMDGPU peephole-fold-imm.mir

PeepholeOpt: Clear kill flags in foldImmediate (#195680)

When foldImmediate replaces a COPY destination with its source,
this extends the live range of the source, but it does not update the
kill flags.

Clear kill flags on the source register after replacement.

This was found while working on REG_SEQUENCE optimizations motivated by
AMDGPU demands. Both an AMDGPU and an X86 test case are added to show that
the issue is not AMDGPU specific.
DeltaFile
+27-0llvm/test/CodeGen/X86/peephole.mir
+26-0llvm/test/CodeGen/AMDGPU/peephole-fold-imm.mir
+1-0llvm/lib/CodeGen/PeepholeOptimizer.cpp
+54-03 files

LLVM/project 6af0cbfmlir/lib/Dialect/Vector/Transforms LowerVectorGather.cpp, mlir/test/Dialect/Vector vector-gather-lowering.mlir

[mlir][vector] Account for subview offset in gather lowering. (#195359)

Strided vector.gather on a column subview was reading the wrong column
because the rewrite to a collapsed gather dropped the subview's static
offset.

---------

Signed-off-by: hanhanW <hanhan0912 at gmail.com>
DeltaFile
+49-14mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
+61-0mlir/test/Dialect/Vector/vector-gather-lowering.mlir
+110-142 files

FreeNAS/freenas 9005fabtests/sharing_protocols/nfs conftest.py test_nfs_acl.py

Fix
DeltaFile
+43-14tests/sharing_protocols/nfs/conftest.py
+4-25tests/sharing_protocols/nfs/test_nfs_acl.py
+2-20tests/sharing_protocols/nfs/test_nfs_truenas_acl_tools.py
+1-20tests/sharing_protocols/nfs/test_nfs_xattr.py
+1-19tests/sharing_protocols/nfs/test_nfs_dacl_readdir.py
+51-985 files

LLVM/project a8a3b96llvm/lib/Target/AArch64 AArch64InstrFormats.td AArch64RegisterInfo.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! More optimisations spotted by Marian after the specs changed
DeltaFile
+40-42llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+24-43llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+16-30llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
+5-6llvm/lib/Target/AArch64/AArch64InstrFormats.td
+4-5llvm/lib/Target/AArch64/AArch64RegisterInfo.td
+1-3llvm/lib/Target/AArch64/AArch64InstrInfo.td
+90-1291 files not shown
+91-1307 files

LLVM/project bb3de90llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp, llvm/test/MC/AArch64 armv9a-tlbip.s

fixup! Address Carol's PR comments
DeltaFile
+5-0llvm/test/MC/AArch64/armv9a-tlbip.s
+3-0llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+8-02 files

LLVM/project 75e74bbllvm/lib/Target/AArch64 AArch64InstrFormats.td

fixup! Remove superfluous code
DeltaFile
+0-7llvm/lib/Target/AArch64/AArch64InstrFormats.td
+0-71 files

LLVM/project 8b02faflldb/test/Shell/Commands command-disassemble-aarch64-extensions.s command-disassemble-aarch64-color.s, llvm/lib/Target/AArch64 AArch64InstrFormats.td

fixup! Update diff because SYSP definition has changed
DeltaFile
+126-114llvm/test/MC/AArch64/armv9a-sysp.s
+19-21llvm/test/MC/AArch64/armv9-sysp-diagnostics.s
+7-32llvm/lib/Target/AArch64/AArch64InstrFormats.td
+2-11llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+2-2lldb/test/Shell/Commands/command-disassemble-aarch64-extensions.s
+2-2lldb/test/Shell/Commands/command-disassemble-aarch64-color.s
+158-1822 files not shown
+159-1878 files

LLVM/project 935b473llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp, llvm/test/MC/AArch64 armv9-sysp-diagnostics.s

fixup! Improve error parsing
DeltaFile
+46-25llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+12-12llvm/test/MC/AArch64/armv9-sysp-diagnostics.s
+58-372 files

LLVM/project 48ee08ellvm/lib/Target/AArch64 AArch64InstrFormats.td

fixup! Fixes after rebasing following Marian's change
DeltaFile
+3-3llvm/lib/Target/AArch64/AArch64InstrFormats.td
+3-31 files

LLVM/project 389ae90llvm/lib/Target/AArch64/MCTargetDesc AArch64InstPrinter.cpp

fixup! Address PR comment about shortened `sysp` with xzr/xzr
DeltaFile
+17-16llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+17-161 files

LLVM/project 1c0f241llvm/lib/Target/AArch64 AArch64RegisterInfo.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Implement Marian's suggestion to implement as XSeqPairsClass + [XZR, XZR]
DeltaFile
+54-82llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+35-73llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+12-9llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
+8-1llvm/lib/Target/AArch64/AArch64RegisterInfo.td
+0-7llvm/test/MC/AArch64/armv9a-sysp.s
+1-3llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.h
+110-1756 files

LLVM/project 46568abllvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Remove SYSPxt_XZR and update code to reflect this
DeltaFile
+27-34llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+41-14llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+8-26llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
+2-30llvm/lib/Target/AArch64/AArch64InstrInfo.td
+0-20llvm/test/MC/AArch64/armv9-sysp-invalid.s
+13-3llvm/test/MC/AArch64/armv9-sysp-diagnostics.s
+91-1274 files not shown
+105-13710 files

LLVM/project e37f42bllvm/lib/Target/AArch64 AArch64InstrFormats.td AArch64InstrInfo.td, llvm/lib/Target/AArch64/Disassembler AArch64Disassembler.cpp

[AArch64][llvm] Tighten SYSP; don't disassemble invalid encodings

Tighten SYSP aliases, so that invalid encodings are disassembled
to `<unknown>`. This is because:

```
  Cn is a 4-bit unsigned immediate, in the range 8 to 9
  Cm is a 4-bit unsigned immediate, in the range 0 to 7
  op1 is a 3-bit unsigned immediate, in the range 0 to 6
  op2 is a 3-bit unsigned immediate, in the range 0 to 7
```

Ensure we check this when disassembling, and also constrain
tablegen for compile-time errors of invalid encodings.

Also adjust the testcases in `armv9-sysp-diagnostics.s` and
`llvm/test/MC/AArch64/armv9a-sysp.s` as they were invalid,
and added a few invalid (outside of range) SYSP-alikes to
test that `<unknown>` is printed
DeltaFile
+111-111llvm/test/MC/AArch64/armv9a-sysp.s
+25-1llvm/lib/Target/AArch64/AArch64InstrFormats.td
+25-0llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
+20-0llvm/test/MC/AArch64/armv9-sysp-invalid.s
+7-8llvm/test/MC/AArch64/armv9-sysp-diagnostics.s
+7-3llvm/lib/Target/AArch64/AArch64InstrInfo.td
+195-1233 files not shown
+207-1279 files

LLVM/project 5685d3cllvm/lib/Target/AArch64/MCTargetDesc AArch64InstPrinter.cpp, llvm/test/MC/AArch64 armv9a-sysp.s

fixup! Add no-alias tests
DeltaFile
+4-3llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+7-0llvm/test/MC/AArch64/armv9a-sysp.s
+11-32 files

LLVM/project b1d8d4fllvm/lib/Target/AArch64 AArch64InstrFormats.td AArch64InstrInfo.td

fixup! Address Marian's PR comments: use imm0_6 predicate
DeltaFile
+9-1llvm/lib/Target/AArch64/AArch64InstrFormats.td
+2-2llvm/lib/Target/AArch64/AArch64InstrInfo.td
+11-32 files

LLVM/project 6f9dd5cllvm/lib/Target/AArch64 AArch64InstrFormats.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Templatise bounds checking and improve tests
DeltaFile
+15-4llvm/test/MC/AArch64/armv9-sysp-diagnostics.s
+18-0llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+12-5llvm/lib/Target/AArch64/AArch64InstrFormats.td
+0-8llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+45-174 files