LLVM/project 6ba9306llvm/include/llvm/IR IntrinsicsAMDGPU.td, llvm/lib/Target/AMDGPU AMDGPUInstructionSelector.cpp SIISelLowering.cpp

[AMDGPU] Guard more intrinsics with target features
DeltaFile
+1-51llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+0-42llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+0-24llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+15-2llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+4-4llvm/test/CodeGen/AMDGPU/unsupported-av-load.ll
+4-4llvm/test/CodeGen/AMDGPU/unsupported-av-store.ll
+24-12712 files not shown
+45-14318 files

LLVM/project bbafbd9clang/lib/CodeGen CodeGenAction.cpp, llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.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
+96-3llvm/lib/MC/MCSubtargetInfo.cpp
+37-0clang/lib/CodeGen/CodeGenAction.cpp
+36-0llvm/lib/IR/DiagnosticInfo.cpp
+33-1llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp
+28-0llvm/test/TableGen/intrinsic-target-features.td
+25-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+255-414 files not shown
+391-920 files

LLVM/project ae77c46llvm/lib/IR Verifier.cpp VerifierAMDGPU.cpp, llvm/test/Verifier callbr-intrinsic.ll

[RFC][IR] Extract AMDGPU-specific verification logic into `VerifierAMDGPU.cpp`

`Verifier.cpp` is large and already mixes generic IR verification with
target-specific checks. We also have a growing amount of AMDGPU verifier logic
downstream, which would all end up in the same file if we don't address this,
and that is not ideal.

This patch extracts AMDGPU-specific verification logic into a separate
`VerifierAMDGPU.cpp` file, with shared infrastructure (`VerifierSupport`) moved
into `VerifierInternal.h`.

This is purely a code organization change, not a target-dependent IR verifier.
All checks remain compiled and linked into `LLVMCore` regardless of the target
triple. The extracted functions are called unconditionally at well-defined
extension points in `Verifier.cpp`, and each function internally gates on
target-specific conditions (for example, triple checks or intrinsic IDs) as
needed. The file is strictly limited to AMDGPU-specific IR constructs (amdgcn
intrinsics, AMDGPU module flags, etc.), and does not contain generic IR rules
that vary by target.

    [10 lines not shown]
DeltaFile
+23-530llvm/lib/IR/Verifier.cpp
+401-0llvm/lib/IR/VerifierAMDGPU.cpp
+233-0llvm/lib/IR/VerifierInternal.h
+6-6llvm/test/Verifier/callbr-intrinsic.ll
+1-0llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
+1-0llvm/lib/IR/CMakeLists.txt
+665-5366 files

LLVM/project e995171clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp, clang/test/CodeGen/AArch64 neon-intrinsics.c

[CIR][AArch64] Upstream widening-addition and vector-shift-left-and-widen NEON builtins (#204285)

Related to https://github.com/llvm/llvm-project/issues/185382

CIR lowering for
- widening-addition intrinsics
(https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#widening-addition)
- vector-shift-left-and-widen intrinsics
(https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#vector-shift-left-and-widen)

Port tests:
- `clang/test/CodeGen/AArch64/neon_intrinsics.c` to
`clang/test/CodeGen/AArch64/neon/add.c`
- `clang/test/CodeGen/AArch64/neon_intrinsics.c` to
`clang/test/CodeGen/AArch64/neon/intrinsics.c`
DeltaFile
+0-495clang/test/CodeGen/AArch64/neon-intrinsics.c
+371-0clang/test/CodeGen/AArch64/neon/add.c
+187-0clang/test/CodeGen/AArch64/neon/intrinsics.c
+11-1clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+569-4964 files

LLVM/project 85c81a2llvm/lib/MC MCWin64EH.cpp, llvm/lib/Target/X86 X86WinEHUnwindV3.cpp

[x64][win] Windows x64 unwind v3: Use tail-relative epilog offsets and add size-based splitting (#203108)

Win64 Unwind v3 encodes each epilog's EpilogOffset as a signed 16-bit
field. The encoder previously measured the first epilog offset from the
fragment start, which overflowed for large functions and produced a
cryptic "<unknown>:0: value too large for field" error (and, on the
early .seh_handlerdata path, an assertion failure).

Two changes:

- MCWin64EH.cpp: Always emit epilog offsets tail-relative. The first
epilog descriptor is measured from the fragment end and subsequent ones
as deltas from the previous epilog, so descriptors are emitted in
descending address order (all non-positive, per spec). A new lazy
MCUnwindV3EpilogOffsetTargetExpr resolves the fragment-end-relative
value at layout time (it may not have a symbol yet when emitted via
.seh_handlerdata) and reports a clean, function-named diagnostic on
genuine overflow.


    [11 lines not shown]
DeltaFile
+124-48llvm/test/MC/COFF/seh-unwindv3-inheritance.s
+119-26llvm/lib/Target/X86/X86WinEHUnwindV3.cpp
+113-0llvm/test/CodeGen/X86/win64-eh-unwindv3-split-large.ll
+95-17llvm/lib/MC/MCWin64EH.cpp
+8-7llvm/test/MC/COFF/seh-unwindv3-nonmirror.s
+4-4llvm/test/MC/COFF/seh-unwindv3-large.s
+463-1026 files

FreeBSD/ports 139ab36sysutils/glow distinfo Makefile

sysutils/glow: Update to 2.1.2

ChangeLog:
https://github.com/charmbracelet/glow/releases/tag/v2.1.2
DeltaFile
+5-5sysutils/glow/distinfo
+1-2sysutils/glow/Makefile
+6-72 files

LLVM/project abbb031bolt/lib/Rewrite RewriteInstance.cpp, bolt/test/binary-analysis/AArch64 cfg-warning.s

[BOLT][rewrite] warn about functions without CFG before binary analyses. (#197294)
DeltaFile
+38-0bolt/test/binary-analysis/AArch64/cfg-warning.s
+22-2bolt/lib/Rewrite/RewriteInstance.cpp
+60-22 files

OpenBSD/src mbw74ydusr.bin/tmux cmd-refresh-client.c

   Correctly report theme changes to panes, based on a fix from someone in
   GitHub issue 5246.
VersionDeltaFile
1.52+10-3usr.bin/tmux/cmd-refresh-client.c
+10-31 files

FreeBSD/ports 4d536dcconverters/py-gotenberg-client distinfo Makefile

converters/py-gotenberg-client: Update to 0.14.0
DeltaFile
+3-3converters/py-gotenberg-client/distinfo
+1-1converters/py-gotenberg-client/Makefile
+4-42 files

LLVM/project 8c922aallvm/lib/Transforms/Instrumentation MemorySanitizer.cpp

[MemorySanitizer] Merge x86 BMI and PackedBits handlers into handleGenericBitManipulation (#204786)

As discussed on #204144 - its not necessary to have separate handlers, just because some are target intrinsics
DeltaFile
+13-29llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+13-291 files

FreeBSD/ports f513f0ewww/lua-stream-nginx-module pkg-plist Makefile, www/lua-stream-nginx-module/files patch-src_ngx__stream__lua__module.c

www/nginx{,-devel}: Update to 1.30.3/1.31.2

Update nginx and nginx-devel to the latest security releases.

The quarterly branch was updated manually to account for changes
present in main that are not part of 2026Q2.

Security:       CVE-2026-42055, CVE-2026-48142, CVE-2026-42530
Sponsored by:   Netzkommune GmbH
DeltaFile
+89-0www/lua-stream-nginx-module/pkg-plist
+31-0www/nginx/files/extra-patch-mod_zip
+31-0www/nginx-devel/files/extra-patch-mod_zip
+30-0www/lua-stream-nginx-module/Makefile
+9-11www/nginx/distinfo
+20-0www/lua-stream-nginx-module/files/patch-src_ngx__stream__lua__module.c
+210-1114 files not shown
+276-3620 files

FreeBSD/ports d1c992dwww/py-dj52-django-allauth distinfo Makefile

www/py-dj52-django-allauth: Update to 65.18.0
DeltaFile
+3-3www/py-dj52-django-allauth/distinfo
+1-4www/py-dj52-django-allauth/Makefile
+4-72 files

Linux/linux c98d767arch/s390/kvm interrupt.c, arch/x86/kvm x86.c regs.h

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull kvm updates from Paolo Bonzini:
 "arm64:

     This is a bit of an odd merge window on the KVM/arm64 front. There
     is absolutely no new feature in the pull request. It is purely
     fixes, because it is simply becoming too hard to review new stuff
     when so many AI-fuelled fixes hit the list.

   - Significant cleanup of the vgic-v5 PPI support which was merged in
     7.1. This makes the code more maintainable, and squashes a couple
     of bugs in the meantime

   - Set of fixes for the handling of the MMU in an NV context,
     particularly VNCR-triggered faults. S1POE support is fixed as well

   - Large set of pKVM fixes, mostly addressing recurring issues around
     hypervisor tracking of donated pages in obscure cases where the

    [236 lines not shown]
DeltaFile
+387-409arch/x86/kvm/svm/sev.c
+447-116arch/s390/kvm/interrupt.c
+187-247arch/x86/kvm/x86.c
+423-0arch/x86/kvm/regs.h
+209-129arch/x86/kvm/vmx/tdx.c
+313-0tools/testing/selftests/kvm/x86/nested_tdp_fault_test.c
+1,966-901181 files not shown
+6,174-3,559187 files

FreeBSD/ports 1762351www/py-dj52-django-auditlog distinfo Makefile

www/py-dj52-django-auditlog: Update to 3.4.1
DeltaFile
+3-3www/py-dj52-django-auditlog/distinfo
+1-4www/py-dj52-django-auditlog/Makefile
+4-72 files

FreeBSD/ports 9801e4ewww/py-django-auditlog distinfo Makefile

www/py-django-auditlog: Update to 3.4.1
DeltaFile
+3-3www/py-django-auditlog/distinfo
+1-1www/py-django-auditlog/Makefile
+4-42 files

FreeBSD/ports 38d74efwww/py-django-treenode distinfo Makefile

www/py-django-treenode: Update to 0.24.0
DeltaFile
+3-3www/py-django-treenode/distinfo
+1-1www/py-django-treenode/Makefile
+4-42 files

LLVM/project d43b360llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 reduced-value-replace-extractelement-cost.ll

[SLP] Fix reduction cost crash for reduced values replaced by extractelement

A reduced value may be replaced by an extractelement while vectorizing a
previous subvector, so it is no longer a key in ReducedValsToOps.
Look through replaced values to the reduction operation among their users.

Fixes #204814

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/204847
DeltaFile
+61-0llvm/test/Transforms/SLPVectorizer/X86/reduced-value-replace-extractelement-cost.ll
+15-2llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+76-22 files

LLVM/project 1eb9056llvm/test/MC/AMDGPU gfx13_asm_vop3_dpp16.s

[AMDGPU][NFC] Templatise and roundtrip gfx13_asm_vop3_dpp16.s

Again, this is based on the templatised version of
gfx12_asm_vop3_dpp16.s with the GFX13-specific changes re-applied
on top of it.

gfx13_dasm_vop3_dpp16.txt was never upstreamed, so no changes for
the disassembler side.
DeltaFile
+12,991-3,310llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16.s
+12,991-3,3101 files

FreeBSD/ports 2b22edfwww/py-djangoql distinfo Makefile

www/py-djangoql: Update to 0.19.1
DeltaFile
+3-3www/py-djangoql/distinfo
+1-2www/py-djangoql/Makefile
+4-52 files

LLVM/project fd6a30blibcxx/test/libcxx/gdb gdb_pretty_printer_test.sh.cpp, libcxx/utils/gdb/libcxx printers.py

[libcxx] Make std::pair pretty-printer ABI-independent (#201768)

std::pair is printed explicitly instead of relying on GDB's default
struct formatting to keep output stable across ABI configurations.

With _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR (default on
some platforms, e.g. FreeBSD), std::pair gains an empty
__non_trivially_copyable_base base class. GDB would otherwise render
this as <...__non_trivially_copyable_base<...>> = {<No data fields>},
which makes output ABI-dependent.

Only first and second are meaningful, so print them directly.
DeltaFile
+15-0libcxx/utils/gdb/libcxx/printers.py
+13-0libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
+28-02 files

LLVM/project 28c99aelibcxx/include regex, libcxx/test/std/re/re.traits transform_primary.pass.cpp

Fix __transform_primary in FreeBSD

FreeBSD's strxfrm() encodes collation weights one level at a time,
separating the primary, secondary, and tertiary with '.' bytes. Since
primary equivalence only depends on the primary collation weight, ignore
everything after the first separator when constructing the transformed
key.

This patch the intended behavior of primary equivalence and avoids
relying on glibc's fixed-size collation-key representation.
DeltaFile
+23-0libcxx/include/regex
+0-1libcxx/test/std/re/re.traits/transform_primary.pass.cpp
+23-12 files

FreeBSD/src 5ca5b57libexec/rc/rc.d routing

rc.d/routing: Silence errors for loopback routes

_loopback entry in `static_routes` ensures a loopback route
exists in all routing tables.
However, loopback routes may already be added by the kernel.
Therefore, re-adding them triggers an `EEXIST` error on every boot.
This change suppresses those harmless errors.

PR:             259553
MFC after:      1 week
Reviewed by:    glebius, jlduran, markj
Differential Revision:  https://reviews.freebsd.org/D57470

(cherry picked from commit 9f80c8b90bdaa8ffac887a8c478a16c84d74a87b)
DeltaFile
+16-3libexec/rc/rc.d/routing
+16-31 files

LLVM/project 29692c1libc/src/libgen dirname.cpp basename.cpp, libc/test/src/libgen dirname_test.cpp basename_test.cpp

[libc] Implement basename and dirname in libgen.h (#204554)

Added the POSIX standard functions basename and dirname under a new
libgen.h header. The implementations modify the input path in-place
using cpp::string_view to determine boundaries safely.

Added find_last_not_of to cpp::string_view to support trailing slash
removal.

Implemented:
* libc/include/libgen.yaml, libgen.h.def: Public API definitions.
* libc/src/libgen/basename.cpp, dirname.cpp: Generic implementations.
* libc/test/src/libgen/: Unit and hermetic tests.

Registered the new entrypoints for all active Linux targets (x86_64,
aarch64, arm, riscv) and added docgen configuration.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+74-0libc/test/src/libgen/dirname_test.cpp
+62-0libc/test/src/libgen/basename_test.cpp
+48-0libc/src/libgen/dirname.cpp
+43-0libc/test/src/libgen/CMakeLists.txt
+42-0libc/src/libgen/basename.cpp
+30-0libc/src/libgen/dirname.h
+299-016 files not shown
+458-022 files

FreeBSD/ports 00af591www/py-granian distinfo Makefile.crates

www/py-granian: Update to 2.7.6
DeltaFile
+203-197www/py-granian/distinfo
+101-98www/py-granian/Makefile.crates
+1-2www/py-granian/Makefile
+305-2973 files

LLVM/project 0f2f6b2libc/src/stdlib qsort_util.h

Address comment that was missed
DeltaFile
+2-2libc/src/stdlib/qsort_util.h
+2-21 files

LLVM/project 22dce64llvm/lib/Target/AMDGPU SIInstrInfo.cpp SIInstrInfo.h

[AMDGPU] Remove some functions unused since #105645. NFC. (#204844)
DeltaFile
+0-159llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+0-18llvm/lib/Target/AMDGPU/SIInstrInfo.h
+0-1772 files

LLVM/project 646a1b5libc/test/src/stdlib QsortReentrantTest.h

Address comments and add some code comments
DeltaFile
+17-11libc/test/src/stdlib/QsortReentrantTest.h
+17-111 files

NetBSD/pkgsrc-wip a622ffe. Makefile, stable-diffusion.cpp Makefile distinfo

stable-diffusion.cpp: add new package
DeltaFile
+54-0stable-diffusion.cpp/Makefile
+31-0stable-diffusion.cpp/patches/patch-ggml_CMakeLists.txt
+15-0stable-diffusion.cpp/distinfo
+5-0stable-diffusion.cpp/PLIST
+3-0stable-diffusion.cpp/DESCR
+1-0Makefile
+109-06 files

OpenBSD/src QmBCtgUusr.bin/tmux key-bindings.c

   Make default M-C-Up/Down bound to prompt movement commands in copy mode.
VersionDeltaFile
1.178+3-1usr.bin/tmux/key-bindings.c
+3-11 files

NetBSD/pkgsrc-wip fe26ba6libwebm PLIST Makefile

libwebm: add new package
DeltaFile
+19-0libwebm/PLIST
+19-0libwebm/Makefile
+12-0libwebm/buildlink3.mk
+9-0libwebm/DESCR
+5-0libwebm/distinfo
+4-0libwebm/TODO
+68-01 files not shown
+69-07 files