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

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 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

LLVM/project af75cc9 — llvm/lib/Target/BPF BPFISelLowering.cpp, llvm/test/CodeGen/BPF blockaddress-table-data.ll blockaddress-other-function.ll

BPF: Reject the address of a block of another function (#243914)

This was looking up every block address in a map of blocks of the
function using it, which asserted for a block of another function. A
jump to it from the owning function is defined, but gotox only jumps
to an entry in a jump table of its own function. Report it as
unsupported, also for a private table of such blocks.

A table with entries other than block addresses is loaded as data, so
check all of them before looking up any.

For now this leaves the broken IR modification in the AsmPrinter, but
that should really be removed.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+44-0llvm/test/CodeGen/BPF/blockaddress-other-function.ll
+31-9llvm/lib/Target/BPF/BPFISelLowering.cpp
+30-0llvm/test/CodeGen/BPF/blockaddress-table-data.ll
+105-93 files

LLVM/project 8438202 — llvm/lib/Target/AMDGPU AMDGPUMemoryUtils.cpp, llvm/test/CodeGen/AMDGPU annotate-noclobber-tensor-load.ll

[AMDGPU] Don't treat tensor.load.to.lds as a clobber of global loads (#247451)

llvm/llvm-project#229728 removed the memory-effect restriction from the
tensor load/store intrinsics, so every `llvm.amdgcn.tensor.load.to.lds`
is now a possible write to any memory, and `isReallyAClobber` has no
exception for it. Uniform global loads after a TDM load lose
`amdgpu.noclobber` and select `global_load_b32` instead of `s_load_b32`.

**Fix**: a tensor load reads global memory and writes only LDS, so
isReallyAClobber now returns false for tensor.load.to.lds when the
queried load is from a global address space
(AMDGPU::isExtendedGlobalAddrSpace).

Likewise, `tensor.store.from.lds` reads LDS and writes only global
memory, so it no longer clobbers LDS loads. Flat loads, which may alias
either, are still treated as clobbered.


**Motivation:** paged attention. Before each TDM copy of a K/V tile, the

    [12 lines not shown]
DeltaFile
+36-0llvm/test/CodeGen/AMDGPU/annotate-noclobber-tensor-load.ll
+11-0llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+47-02 files

LLVM/project bb6b40d — bolt/lib/Profile DataReader.cpp, bolt/test/AArch64 header-mismatch.s

[BOLT] Fix BAT and basic-sample header parsing order (#248110)

When the `boltedcollection` and `no_lbr` profile headers are supplied in
that order (such as from a tool like `merge-fdata`), this causes BOLT to
mis-parse the profile headers as the code assumes that they are supplied
in the order `no_lbr` and `boltedcollection`. This patch enables either
order of the headers to be accepted by BOLT.

NOTE: This builds on #86501.
DeltaFile
+39-0bolt/test/AArch64/header-mismatch.s
+11-4bolt/lib/Profile/DataReader.cpp
+50-42 files

LLVM/project cf7d305 — llvm/include/llvm/Transforms/InstCombine InstCombiner.h, llvm/test/Transforms/InstCombine compute-sign-bits-instr-info.ll

[InstCombine] Fix arg conflation in ComputeNumSignBits (#248139)

The routine InstCombiner::ComputeNumSignBits passes the Depth integer in
place of the UseInstInfo boolean to ComputeNumSignBits, which was
unflagged to date due to implicit conversion. Fix this.

Assisted-by: llm, for testing
DeltaFile
+48-0llvm/test/Transforms/InstCombine/compute-sign-bits-instr-info.ll
+2-1llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
+50-12 files

LLVM/project 96c749c — mlir/test/Dialect/Vector vector-transfer-unroll.mlir

[mlir][vector][NFC] Enable CHECK lines in vector-transfer-unroll.mlir (#247980)
DeltaFile
+12-12mlir/test/Dialect/Vector/vector-transfer-unroll.mlir
+12-121 files

LLVM/project b91a126 — clang/include/clang/Options Options.td, flang/include/flang/Support LangOptions.def

Apply suggestions from code review

Co-authored-by: Tarun Prabhu <tarun at lanl.gov>
DeltaFile
+1-1flang/test/Driver/openacc-experimental-exec.f90
+1-1flang/include/flang/Support/LangOptions.def
+1-1clang/include/clang/Options/Options.td
+3-33 files

LLVM/project 9d98b5d — lld/MachO SyntheticSections.cpp InputFiles.cpp

[lld][MachO][NFC] Introduce SectionView for section-level predicates

Add a lightweight `SectionView` wrapper implicitly constructible from
either a `Section` or an `InputSection`, and convert all section-level
predicate functions (`isCodeSection`, `isCfStringSection`,
`isClassRefsSection`, `isSelRefsSection`, `isEhFrameSection`,
`isGccExceptTabSection`, `usesAuthGot`, and ICF's
`isFoldableIgnoringRelocatedBytes`) to accept `SectionView`.

This avoids duplicating `(const Section &)` / `(const InputSection *)`
overloads as we refactor loops over `InputSection`s (which are generally
grouped by their originating `Section`) to hoist or cache section-level
predicate results across consecutive subsections of the same `Section`.
Planned follow-up sites include:

- `foldIdenticalSections()`, which evaluates `isCfStringSection`,
  `isClassRefsSection`, `isSelRefsSection`, `isCodeSection`,
  `isFoldableIgnoringRelocatedBytes`, and `isEhFrameSection` on every
  subsection in `inputSections`:

    [16 lines not shown]
DeltaFile
+20-24lld/MachO/InputSection.cpp
+21-21lld/MachO/ICF.cpp
+18-8lld/MachO/InputSection.h
+4-4lld/MachO/Writer.cpp
+3-3lld/MachO/InputFiles.cpp
+2-2lld/MachO/SyntheticSections.cpp
+68-622 files not shown
+70-648 files

FreeBSD/ports 11eef3b — databases/sqldeveloper distinfo Makefile

databases/sqldeveloper: Update 24.3.1.347.1826 => 26.2.0.186.2220

Release Notes:
https://www.oracle.com/tools/sqldev/sqldev-relnotes-26.2.html

Sponsored by:   UNIS Labs
DeltaFile
+73-196databases/sqldeveloper/pkg-plist
+3-4databases/sqldeveloper/Makefile
+3-3databases/sqldeveloper/distinfo
+79-2033 files

LLVM/project e2da32d — flang-rt/lib/runtime unit.cpp, flang-rt/test/Runtime direct_read_endfile.f90

[flang-rt] Fix undetected runtime error for direct-access read of an unwritten record (#246109)

Issue 193434 reports that reading an undefined record in a direct access
file silently succeeds.

Problem was `unit.cpp` was reporting the error condition as an
end-of-file, while it should have been reporting the error as an
end-of-direct-access-file (`IostatEndfileDirect,`).

Fixes https://github.com/llvm/llvm-project/issues/193434
DeltaFile
+86-0flang-rt/test/Runtime/direct_read_endfile.f90
+16-1flang-rt/lib/runtime/unit.cpp
+102-12 files

LLVM/project f0dca22 — flang-rt/lib/runtime command.cpp, flang-rt/test/Runtime getcwd_padded.f90

[flang-rt] Fill return buffer for RTNAME(GetCwd) prior to copying the return string from libc's getcwd() (#245356)

`RTNAME(GetCwd)` does not blank fill the user's return buffer prior to
populating the buffer with the string returned from libc's `getcwd()`,
thus in most cases the Fortran string buffer has at least one NULL
terminator byte.

This is the second attempt at this PR taking into account the reviews
from the first go-around.

Fixes https://github.com/llvm/llvm-project/issues/223778
DeltaFile
+25-0flang-rt/test/Runtime/getcwd_padded.f90
+13-6flang-rt/lib/runtime/command.cpp
+38-62 files

FreeBSD/src cefc83b — sys/netinet6 ip6_input.c, tests/sys/netipsec/tunnel Makefile utils.subr

netinet6: Keep the AH flags on the inner packet of a tunnel mode SA

ip6_input() clears M_AUTHIPHDR and M_AUTHIPDGM on every packet. The
inner packet of a tunnel mode AH SA reaches it through netisr after
ipsec[46]_common_input_cb() has stripped the outer header, so it loses
the flags that ah_input_cb() set after verifying the ICV. The inbound
policy check in ipsec_in_reject() then finds no AH flag on a packet
whose policy requires AH and drops it as a policy violation ("inbound
packets violated process security policy" in netstat -sp ipsec6). With
the usual "require" level, every IPv6 packet carried by a policy-based
AH tunnel is dropped, whatever the outer address family. ESP is not
affected, since M_DECRYPTED is not cleared, and neither are IPv4 inner
packets, since ip_input() has never cleared the flags. if_ipsec(4) is
not involved, since it only uses ESP.

net.inet.ipsec.check_policy_history does not help: ipsec_in_reject()
checks the flags in addition to the history tags.

The clearing comes from KAME, whose ah6_input() deliberately did not

    [24 lines not shown]
DeltaFile
+42-0tests/sys/netipsec/tunnel/ah_hmac_sha2_256.sh
+14-8tests/sys/netipsec/tunnel/utils.subr
+0-12sys/netinet6/ip6_input.c
+1-0tests/sys/netipsec/tunnel/Makefile
+57-204 files