LLVM/project ab101c3 — llvm/test/CodeGen/PowerPC vec_conv_fp64_to_i16_elts.ll vec_conv_fp64_to_i8_elts.ll

[PowerPC] Enable SlotIndexes compaction by default

Greedy measures live ranges in slot indexes, and instructions erased
before allocation (by PHI elimination, two-address lowering and the
coalescer) leave entries behind that make ranges look longer than
they are. Opt PowerPC in to dropping them, as AMDGPU and ARM do, so
allocation works with real distances. Passing
-greedy-compact-slot-indexes=false restores the old behaviour.

On CTMark (pwr8, pwr10, AIX, ppc32), .text and llc compile time move
by less than 0.03% and evictions drop by 1.5-5.8%.

The test updates are register allocation changes; csr-split.ll gets
back the live range split it was written to check.
DeltaFile
+1,589-1,644llvm/test/CodeGen/PowerPC/clmul-vector.ll
+279-279llvm/test/CodeGen/PowerPC/all-atomics.ll
+192-192llvm/test/CodeGen/PowerPC/vec_conv_fp32_to_i16_elts.ll
+165-165llvm/test/CodeGen/PowerPC/more-dq-form-prepare.ll
+142-142llvm/test/CodeGen/PowerPC/vec_conv_fp64_to_i8_elts.ll
+132-132llvm/test/CodeGen/PowerPC/vec_conv_fp64_to_i16_elts.ll
+2,499-2,55437 files not shown
+3,490-3,54243 files

LLVM/project 59b5cab — llvm/lib/Target/RISCV RISCVFrameLowering.h RISCVFrameLowering.cpp, llvm/test/CodeGen/RISCV/rvv interrupt-attr-nocall.ll callee-saved-regs.ll

[RISCV] Fix RVV callee-saves in realigned frames

The prologue saves RVV callee-saved registers before it realigns SP
and sets up BP, but their slots were addressed from the realigned SP
or BP. The epilogue reloaded them from the wrong address, BP frames
stored them through the caller's s1, and their CFI was wrong.

Address these slots from FP, which does not move, and derive their
CFI from getFrameIndexReference so the two cannot diverge.

Fixes #244792
DeltaFile
+112-64llvm/test/CodeGen/RISCV/rvv/rvv-cfi-info.ll
+34-28llvm/test/CodeGen/RISCV/rvv/callee-saved-regs.ll
+23-12llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
+8-2llvm/test/CodeGen/RISCV/rvv/interrupt-attr-nocall.ll
+1-2llvm/lib/Target/RISCV/RISCVFrameLowering.h
+178-1085 files

LLVM/project 46a064a — llvm/test/CodeGen/RISCV/rvv interrupt-attr-nocall.ll callee-saved-regs.ll

[RISCV] Add tests for RVV CSRs in realigned frames

Precommit the tests for #244792 so that its fix shows up as a diff.
The checks record the current, wrong output: the prologue saves the
vector callee-saved registers before it realigns the stack, and the
epilogue reloads them from a different address.
DeltaFile
+382-0llvm/test/CodeGen/RISCV/rvv/rvv-cfi-info.ll
+139-0llvm/test/CodeGen/RISCV/rvv/callee-saved-regs.ll
+43-0llvm/test/CodeGen/RISCV/rvv/interrupt-attr-nocall.ll
+564-03 files

LLVM/project 2c73bfb — clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp, clang/test/Modules lsv-objc.m

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+5,270-0llvm/lib/Target/Hexagon/HexagonGlobalSchedulerV2.cpp
+1,922-0mlir/test/Dialect/X86/vector-contract-16bit-fp-to-fma.mlir
+0-1,425mlir/test/Dialect/X86/vector-contract-bf16-to-fma.mlir
+722-262llvm/test/Transforms/LoopUnroll/RISCV/outer-loop-unroll-threshold.ll
+926-0clang/test/Modules/lsv-objc.m
+852-67clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+9,692-1,7541,455 files not shown
+54,605-15,8981,461 files

LLVM/project f568531 — clang/lib/CodeGen CodeGenModule.cpp, clang/test/CodeGen/PowerPC attr-target-clones-export-mapping.c

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+12-0clang/test/CodeGen/PowerPC/attr-target-clones-export-mapping.c
+2-1clang/lib/CodeGen/CodeGenModule.cpp
+14-12 files

LLVM/project bbea500 — llvm/lib/Target/RISCV RISCVExpandPseudoAtomics.cpp, llvm/test/CodeGen/RISCV atomic-masked-merge-zero.ll atomic-cmpxchg-branch-on-result.ll

Revert "[RISCV] Remove unnecessary 'and' from masked cmpxchg loop. (#246502)"

This reverts commit 5fa79a43c0a3804663f8966ff902179f5e9e2dd0.
DeltaFile
+384-256llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
+384-256llvm/test/CodeGen/RISCV/GlobalISel/atomic-cmpxchg.ll
+48-32llvm/test/CodeGen/RISCV/atomic-signext.ll
+24-16llvm/test/CodeGen/RISCV/atomic-cmpxchg-branch-on-result.ll
+11-10llvm/lib/Target/RISCV/RISCVExpandPseudoAtomics.cpp
+6-6llvm/test/CodeGen/RISCV/atomic-masked-merge-zero.ll
+857-5761 files not shown
+860-5787 files

LLVM/project 6d46669 — lldb/include/lldb/Target Process.h, lldb/source/Target Process.cpp

[lldb] Publish the attaching state before sending the attach request (#245632)

When attaching to a process that was connected before the attach (e.g.
`process connect` followed by `process attach --waitfor`), the private
state thread is already running, so Process::Attach has to publish
eStateAttaching itself. It only did so after
DoAttachToProcessWithName/ID returned, but by then the attach request
may already be on its way to the server.

TestAttachWaitConnected.py shows the resulting race:

1. The test calls SBTarget::Attach with a wait-for attach info.
Process::Attach calls DoAttachToProcessWithName, which hands the
vAttachWait packet to the gdb-remote async thread and returns.

2. The mock server receives vAttachWait, and the test immediately calls
SBProcess::SendAsyncInterrupt to cancel the attach.

3. Process::SendAsyncInterrupt sends eBroadcastBitInterrupt to the

    [14 lines not shown]
DeltaFile
+25-13lldb/source/Target/Process.cpp
+10-0lldb/include/lldb/Target/Process.h
+0-2lldb/test/API/functionalities/gdb_remote_client/TestAttachWaitConnected.py
+35-153 files

LLVM/project 92e702c — lld/MachO InputSection.h InputSection.cpp, lld/test/MachO function-starts.s

[lld][MachO] Stream FunctionStartsSection from laid-out code sections (#247021)

Currently, `FunctionStartsSection::finalizeContents()` scans every
`ObjFile`'s full symbol table, resolves `defined->getVA()` for each live
code symbol, and sorts all addresses with `llvm::sort`.

By the time `FunctionStartsSection::finalizeContents()` runs, output
segments, their sections, and each `ConcatOutputSection`'s inputs are
already laid out in ascending virtual address order, and each input
section's `symbols` list is kept sorted by offset. This PR walks those
laid-out code sections directly.

To avoid calling `isCodeSection()` on every subsection, we add an
`isCodeSection(const Section &)` overload and cache its result across
consecutive inputs sharing the same originating `Section`. This targets
the common case where most subsections remain in their original input
order (even under an order file, non-code sections and unprioritized
code sections stay grouped by `Section`).


    [13 lines not shown]
DeltaFile
+129-0lld/test/MachO/function-starts.s
+38-19lld/MachO/SyntheticSections.cpp
+5-2lld/MachO/InputSection.cpp
+1-0lld/MachO/InputSection.h
+173-214 files

LLVM/project ca6d38a — clang/lib/CIR/CodeGen CIRGenExpr.cpp, clang/test/CIR/CodeGen cxx2b-static-call-operator.cpp

[CIR] Emit the object of an inherited static call operator

Sema converts the object argument of an inherited static operator() or
operator[] to the base class with a CK_NoOp cast, not a derived-to-base
conversion.  emitCastLValue rejects a CK_NoOp that changes the record
type and reports errorNYI.

emitCall now drops that cast before emitting the object as an ignored
expression.  The object is never read, so the cast has no effect on the
IR.  emitCastLValue still rejects every other record-changing CK_NoOp.
This change does not handle CK_AddressSpaceConversion, which Sema uses
when the object is in a different address space.

libc++'s ranges::begin, ranges::end and ranges::data now inherit a
static operator() from std::_CPO.  Without this change, 860 libc++ std/
tests fail to compile under -fclangir.

Assisted-by: Cursor / Claude Opus 5.5
DeltaFile
+205-0clang/test/CIR/CodeGen/cxx2b-static-call-operator.cpp
+10-2clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+215-22 files

FreeBSD/src 4b3c3e9 — sys/ofed/drivers/infiniband/ulp/nfsclrdma xprt_verbs.c

xprt_verbs.c: Use the default fib# for route lookups

Without this patch, fib4_lookup()/fib6_lookup() are
called with the fib# for the current thread.
During a reconnect, this could be any thread, so use
the default fib# instead.

Reported by:    llm-postcr
MFC after:      1 month
Fixes:  80bee4d83637 ("nfsclrdma: Add code to support client side NFS over RDMA")
DeltaFile
+2-4sys/ofed/drivers/infiniband/ulp/nfsclrdma/xprt_verbs.c
+2-41 files

LLVM/project bbf95b2 — llvm/include/llvm/Transforms/IPO Attributor.h, llvm/lib/Transforms/IPO Attributor.cpp

Merge branch 'users/reble/attributor/skip-lookup-disallowed-aas' into users/reble/attributor/skip-load-store-seeding
DeltaFile
+6-14llvm/include/llvm/Transforms/IPO/Attributor.h
+1-1llvm/lib/Transforms/IPO/Attributor.cpp
+7-152 files

FreeBSD/doc e833951 — website/content/en/releases/15.1R/ec2-ami-ids latest.adoc

15.1: Update "latest" AMIs

We now have 15.1-RELEASE-p8 AMIs.

Approved by:    re (implicit)
Sponsored by:   Amazon
DeltaFile
+384-384website/content/en/releases/15.1R/ec2-ami-ids/latest.adoc
+384-3841 files

LLVM/project 083885a — llvm/test/TableGen string-hex-escape.td, llvm/test/TableGen/Inputs string-hex-escape-eof.td

Move end of file test input to a file

printf does not handle the escaped backslash the same way on Windows.

Assisted-by: Claude
DeltaFile
+2-2llvm/test/TableGen/string-hex-escape.td
+1-0llvm/test/TableGen/Inputs/string-hex-escape-eof.td
+3-22 files

LLVM/project f85e2db — llvm/test/CodeGen/AArch64 sve-fixed-length-masked-expandloads.ll sve-interleaved-accesses.ll, llvm/test/CodeGen/AMDGPU constant-address-space-32bit-vmem.ll

Merge branch 'main' into users/arsenm/runtime-libcalls/asan-out-of-tree-runtimes
DeltaFile
+688-788llvm/test/CodeGen/AArch64/sve-fixed-length-fp-extend-bf16.ll
+1,449-0llvm/test/CodeGen/RISCV/xqcilo-xqcilia-sfb-frame-index.ll
+413-668llvm/test/CodeGen/AArch64/sve-interleaved-accesses.ll
+477-544llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+980-1llvm/test/CodeGen/RISCV/xqcilo-xqcilia-frame-index.ll
+880-55llvm/test/CodeGen/AMDGPU/constant-address-space-32bit-vmem.ll
+4,887-2,056596 files not shown
+24,505-5,887602 files

LLVM/project e9b6981 — compiler-rt/lib/reasan reasan_allocator.h reasan_hsa_interceptors.cpp, compiler-rt/lib/sanitizer_common sanitizer_offload.h sanitizer_offload_hsa.h

Optional, comments, stuff
DeltaFile
+36-19compiler-rt/lib/reasan/reasan_allocator.cpp
+26-7compiler-rt/lib/sanitizer_common/sanitizer_offload.cpp
+14-11compiler-rt/lib/sanitizer_common/sanitizer_offload_hsa.h
+3-1compiler-rt/lib/reasan/reasan_allocator.h
+4-0compiler-rt/lib/reasan/reasan_hsa_interceptors.cpp
+1-0compiler-rt/lib/sanitizer_common/sanitizer_offload.h
+84-386 files

LLVM/project b8af53c — compiler-rt/lib/reasan reasan_flags.inc reasan_device.cpp

clang-format
DeltaFile
+8-8compiler-rt/lib/reasan/reasan_host.cpp
+8-7compiler-rt/lib/reasan/reasan_hsa_interceptors.cpp
+7-6compiler-rt/lib/reasan/reasan_flags.inc
+7-6compiler-rt/lib/reasan/reasan_device.cpp
+30-274 files

LLVM/project fccf269 — compiler-rt/lib/reasan reasan_platform.h reasan_platform.cpp, compiler-rt/lib/sanitizer_common sanitizer_offload_hsa.h sanitizer_offload.h

no more pm4
DeltaFile
+43-105compiler-rt/lib/sanitizer_common/sanitizer_offload.cpp
+8-10compiler-rt/lib/sanitizer_common/sanitizer_offload.h
+12-5compiler-rt/lib/reasan/reasan_platform.cpp
+2-3compiler-rt/lib/reasan/reasan_platform.h
+0-1compiler-rt/lib/sanitizer_common/sanitizer_offload_hsa.h
+65-1245 files

LLVM/project 4390a6a — compiler-rt/lib/sanitizer_common sanitizer_offload.cpp

fix pred
DeltaFile
+6-4compiler-rt/lib/sanitizer_common/sanitizer_offload.cpp
+6-41 files

LLVM/project bbe49c6 — compiler-rt/lib/reasan reasan_image.cpp reasan_platform.cpp, compiler-rt/lib/sanitizer_common sanitizer_offload.cpp

[compiler-rt] Add Region-Encoded AddressSanitizer runtime

Host and device runtime for reasan, built on the sanitizer_common offload
layer. The common layer gains the HSA pieces reasan needs: pool and agent
queries, virtual memory reservation and sharing, code object enumeration,
cache publication, and device symbolization. The runtime keeps the
allocator, global aliasing, and report formatting. Each device begins on
its own metadata granule, so an entry load stays on the device that owns
the object.

The runtime follows ubsan's offload shape: HSA interceptors that report HSA
as absent when it is not loaded, a reasan-preinit archive, static and shared
runtimes, a receive-only RPC handler on SANITIZER_OFFLOAD_REASAN, and lit
tests on the common GPU substitutions. The report handlers elect the first
active lane, which is the first failing one, and take their return address
as the location of the access. Host checks call __reasan_report_load and
__reasan_report_store and take the caller's frame.

Fine-grain pools are placed only when the AMD extension honors pool flags

    [5 lines not shown]
DeltaFile
+792-0compiler-rt/lib/reasan/reasan_allocator.cpp
+466-65compiler-rt/lib/sanitizer_common/sanitizer_offload.cpp
+448-0compiler-rt/lib/reasan/reasan_hsa_interceptors.cpp
+446-0compiler-rt/lib/reasan/reasan_report.cpp
+332-0compiler-rt/lib/reasan/reasan_platform.cpp
+283-0compiler-rt/lib/reasan/reasan_image.cpp
+2,767-6556 files not shown
+6,125-8362 files

LLVM/project b33e2cc — clang/lib/CodeGen BackendUtil.cpp, clang/lib/Driver/ToolChains CommonArgs.cpp

clang-format
DeltaFile
+2-1clang/lib/Driver/ToolChains/CommonArgs.cpp
+1-1clang/lib/CodeGen/BackendUtil.cpp
+3-22 files

LLVM/project 96fd5c5 — compiler-rt/lib/sanitizer_common sanitizer_offload_hsa.h sanitizer_offload.h

Fix XCCs and packets
DeltaFile
+42-36compiler-rt/lib/sanitizer_common/sanitizer_offload.cpp
+1-0compiler-rt/lib/sanitizer_common/sanitizer_offload_hsa.h
+1-0compiler-rt/lib/sanitizer_common/sanitizer_offload.h
+44-363 files

LLVM/project 23dffc3 — clang/lib/Driver SanitizerArgs.cpp, clang/lib/Driver/ToolChains HIPAMD.cpp Clang.cpp

always pass reasan even w/o runtime
DeltaFile
+16-4clang/test/Driver/fsanitize-readdress-offload.c
+8-4clang/lib/Driver/SanitizerArgs.cpp
+4-6clang/lib/Driver/ToolChains/Clang.cpp
+9-0clang/test/Driver/fsanitize-readdress.c
+2-1clang/lib/Driver/ToolChains/HIPAMD.cpp
+39-155 files

LLVM/project 38ee25c — clang/lib/Driver/ToolChains CommonArgs.cpp, clang/test/CodeGen reasan-new-pm.c sanitize-region-encoded-address-attr.cpp

[Clang] Add -fsanitize=readdress for Region-Encoded AddressSanitizer

Wire the sanitizer through the driver, codegen, and preprocessor. Emit
sanitize_region_encoded_address, run the reasan pass, and link the reasan runtime
on AMDGPU offload and supported Linux hosts.

RFC: https://discourse.llvm.org/t/rfc-add-a-device-address-sanitizer-for-gpus-dasan/92710
DeltaFile
+79-0clang/test/Driver/fsanitize-readdress-offload.c
+53-0clang/test/CodeGen/sanitize-region-encoded-address-attr.cpp
+43-0clang/test/CodeGen/reasan-new-pm.c
+43-0clang/test/Driver/fsanitize-readdress.c
+14-0clang/test/Lexer/has_feature_address_sanitizer.cpp
+13-0clang/lib/Driver/ToolChains/CommonArgs.cpp
+245-017 files not shown
+301-423 files

LLVM/project 087bd9f — llvm/lib/Transforms/Instrumentation RegionEncodedAddressSanitizer.cpp, llvm/test/Instrumentation/RegionEncodedAddressSanitizer rooting.ll debug.ll

[LLVM] Add RegionEncodedAddressSanitizer instrumentation pass

Instrument loads, stores, and memory intrinsics against reasan's
size-class metadata. The handler locates the access by its return
address, so each check calls a report of its own that is never merged,
inlined, or tail called. On AMDGPU, keep the dispatch pointer that
shared memory checks read, and preserve the __reasan_ entry points.

AMDGPU keeps one decode per inbounds root and selects the zero word for
an outside pointer, so the load can be hoisted and the wave does not
branch. Elsewhere an outside pointer is the common case, so membership
is a branch and the decode is its cold side. Global relocation defaults
to AMDGPU and follows -reasan-instrument-globals when set. The metadata
pointer uses the data layout's default globals address space.

RFC: https://discourse.llvm.org/t/rfc-add-a-device-address-sanitizer-for-gpus-dasan/92710
DeltaFile
+879-0llvm/lib/Transforms/Instrumentation/RegionEncodedAddressSanitizer.cpp
+403-0llvm/test/Instrumentation/RegionEncodedAddressSanitizer/basic.ll
+282-0llvm/test/Instrumentation/RegionEncodedAddressSanitizer/shared.ll
+123-0llvm/test/Instrumentation/RegionEncodedAddressSanitizer/globals.ll
+90-0llvm/test/Instrumentation/RegionEncodedAddressSanitizer/debug.ll
+68-0llvm/test/Instrumentation/RegionEncodedAddressSanitizer/rooting.ll
+1,845-012 files not shown
+2,014-018 files

LLVM/project d906d91 — llvm/include/llvm/Transforms/Instrumentation RegionEncodedAddressSanitizer.h, llvm/lib/Passes PassBuilder.cpp

clang-format
DeltaFile
+27-20llvm/lib/Transforms/Instrumentation/RegionEncodedAddressSanitizer.cpp
+2-1llvm/include/llvm/Transforms/Instrumentation/RegionEncodedAddressSanitizer.h
+1-1llvm/lib/Passes/PassBuilder.cpp
+30-223 files

LLVM/project 9f60275 — llvm/lib/Transforms/Instrumentation RegionEncodedAddressSanitizer.cpp, llvm/test/Instrumentation/RegionEncodedAddressSanitizer do-not-internalize.ll

comments
DeltaFile
+2-0llvm/test/Instrumentation/RegionEncodedAddressSanitizer/do-not-internalize.ll
+1-0llvm/lib/Transforms/Instrumentation/RegionEncodedAddressSanitizer.cpp
+3-02 files

LLVM/project aafc63c — llvm/lib/Transforms/Scalar GVN.cpp

clang-format
DeltaFile
+2-1llvm/lib/Transforms/Scalar/GVN.cpp
+2-11 files

LLVM/project 723bf28 — llvm/test/Bitcode attributes.ll compatibility.ll, llvm/test/Transforms/HotColdSplit/X86 do-not-split.ll

[IR] Add sanitize_region_encoded_address function attribute

Mark functions that should receive Region-Encoded AddressSanitizer checks,
matching the other sanitize_* attributes. Bitcode, LangRef, editor
syntax, and inliner compatibility rules are updated accordingly.
Speculative loads, non-local GVN load elimination, and hot/cold
splitting are suppressed under it, as they are for sanitize_address.

RFC: https://discourse.llvm.org/t/rfc-add-a-device-address-sanitizer-for-gpus-dasan/92710
DeltaFile
+30-0llvm/test/Transforms/Inline/attributes.ll
+14-0llvm/test/Transforms/HotColdSplit/X86/do-not-split.ll
+11-0llvm/test/Transforms/VectorCombine/X86/load-widening.ll
+10-0llvm/test/Transforms/InstCombine/load.ll
+6-2llvm/test/Bitcode/compatibility.ll
+6-0llvm/test/Bitcode/attributes.ll
+77-214 files not shown
+104-620 files

LLVM/project 82fa603 — llvm/test/Transforms/CodeExtractor PartialInlineAttributes.ll, llvm/test/Transforms/GVN no_speculative_loads_with_asan.ll

update comments
DeltaFile
+40-0llvm/test/Transforms/GVN/no_speculative_loads_with_asan.ll
+3-3llvm/test/Transforms/CodeExtractor/PartialInlineAttributes.ll
+2-0llvm/test/Transforms/HotColdSplit/X86/do-not-split.ll
+45-33 files

FreeBSD/doc 74d7e2c — website/static/security/advisories FreeBSD-SA-26:99.linux.asc FreeBSD-SA-26:96.krb5.asc, website/static/security/patches/SA-26:103 ptrace-15.2.patch ptrace-14.patch

website: Add EN-26:33 and SA-26:95 through SA-26:104.

Approved by:    so
DeltaFile
+6,882-0website/static/security/patches/SA-26:96/krb5.patch
+613-0website/static/security/patches/SA-26:103/ptrace-14.patch
+613-0website/static/security/patches/SA-26:103/ptrace-15.1.patch
+554-0website/static/security/patches/SA-26:103/ptrace-15.2.patch
+195-0website/static/security/advisories/FreeBSD-SA-26:96.krb5.asc
+183-0website/static/security/advisories/FreeBSD-SA-26:99.linux.asc
+9,040-037 files not shown
+11,760-043 files