LLVM/project 0aa8e13 — llvm/lib/Target/AMDGPU AMDGPULowerKernelArguments.cpp, llvm/test/CodeGen/AMDGPU lower-kernargs.ll si-split-load-store-alias-info.ll

[AMDGPU] Use a disjoint scope domain for noalias kernel arguments (#218770)

All noalias arguments of a kernel are disjoint with each other, so we
can use a disjoint scope to save on metadata construction.

AI disclosure: Claude wrote this, I looked at it and wrote this
message.
DeltaFile
+90-105llvm/test/CodeGen/AMDGPU/lower-noalias-kernargs.ll
+19-13llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
+11-11llvm/test/CodeGen/AMDGPU/lower-kernel-arguments-noalias-call-no-ptr-args.ll
+8-8llvm/test/CodeGen/AMDGPU/si-split-load-store-alias-info.ll
+4-4llvm/test/CodeGen/AMDGPU/lower-kernargs.ll
+132-1415 files

LLVM/project d81a01a — compiler-rt/test lit.common.cfg.py, compiler-rt/test/asan/TestCases/Darwin suppressions-darwin.cpp

[compiler-rt][test] XFAIL suppressions-darwin.cpp on 27.0-27.2 iOS simulators

Certain calls from the simulator shared cache (e.g. to memcpy/memcmp/strlen)
are not interposable on 27.0-27.2 simulators, so ASan cannot intercept them
and this test fails.

rdar://193139172
DeltaFile
+25-0compiler-rt/test/lit.common.cfg.py
+4-0compiler-rt/test/asan/TestCases/Darwin/suppressions-darwin.cpp
+29-02 files

LLVM/project 3a13953 — llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR as-vgpr-fix-sgpr-copies.mir as-vgpr-optnone.ll

[AMDGPU] Lower loads and stores for address space 13 (#209541)

Generate code for loads and stores in address space 13 (VGPR "as
memory"), which presents the
wave's vector registers as memory indexed by the pointer.

A whole-dword load or store becomes an `AMDGPUISD::REG_LOAD` /
`REG_STORE` node
(`G_AMDGPU_REG_LOAD` / `G_AMDGPU_REG_STORE` on GlobalISel) carrying the
dword index, which is the
pointer shifted right by 2, and an MMO, so alias analysis and the
scheduler treat it as the memory
access it is. These nodes select to one of two families of pseudos,
split the same way as the
`V_INDIRECT_REG_*_MOVREL` / `V_INDIRECT_REG_*_GPR_IDX` pseudos:
* Subtargets that use movrel: `V_LOAD_IDX_B<N>` / `V_STORE_IDX_B<N>`
have no index operand and
read M0. The patterns take the index as an `M0` input, so both selectors
emit the copy into M0

    [48 lines not shown]
DeltaFile
+2,331-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-split.ll
+1,592-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-copy.ll
+1,144-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-basic.ll
+1,051-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-index-offset.ll
+790-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-optnone.ll
+353-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-fix-sgpr-copies.mir
+7,261-044 files not shown
+9,686-5350 files

SmartOS/live 4b3897a — src/lib/sdc config.sh, src/vm/man vmadm.8.md

Merge branch 'master' into zlog-keep-rotated
DeltaFile
+9-6src/vm/man/vmadm.8.md
+3-4src/lib/sdc/config.sh
+12-102 files

LLVM/project a8f02ac — llvm/lib/Transforms/Vectorize/SandboxVectorizer DependencyGraph.cpp, llvm/unittests/Transforms/Vectorize/SandboxVectorizer DependencyGraphTest.cpp

Revert "[SandboxVec][DAG] Fix moveInstrNotifier on empty DAG" (#243968)

Reverts llvm/llvm-project#243747

build issue
DeltaFile
+0-21llvm/unittests/Transforms/Vectorize/SandboxVectorizer/DependencyGraphTest.cpp
+0-3llvm/lib/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.cpp
+0-242 files

LLVM/project 4463f9b — llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeHelper.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel regbankselect-amdgcn.s.buffer.load.ll regbankselect-amdgcn.ptr.s.buffer.load.ll

[AMDGPU][GlobalISel] Fix immediate offset overflow when splitting s.buffer.load

When we're splitting a very large (>128 bit) s.buffer.load into
128-bit buffer loads, we add offsets to each split load. Currently,
when dealing with ptr.s.buffer.load, the code wouldn't subtract enough
from the immediate offset, so that when we added that +128 or +256,
we'd overflow the 12-bit immediate, causing silent overflow.

This commit fixes the issue by correctly calling the offset
splitter with a "alignment" that ensures that all those intermediate
loads don't overflow.

This matches the behavior in SDag and RegisterBankInfo.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+30-34llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll
+24-24llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ptr.s.buffer.load.ll
+16-20llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.ptr.s.buffer.load.ll
+8-8llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll
+4-1llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
+82-875 files

LLVM/project 3277767 — llvm/lib/Target/AMDGPU AMDGPURegisterBankInfo.cpp, llvm/test/CodeGen/AMDGPU smrd.ll

Refactor per review comments
DeltaFile
+114-126llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll
+24-24llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ptr.s.buffer.load.ll
+18-18llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.ptr.s.buffer.load.ll
+17-16llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll
+12-12llvm/test/CodeGen/AMDGPU/smrd.ll
+13-10llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
+198-2067 files not shown
+238-23113 files

LLVM/project 9f32dc3 — llvm/lib/CodeGen/AsmPrinter DwarfDebug.h DwarfDebug.cpp, llvm/lib/Target/NVPTX NVPTXDwarfDebug.cpp

[Reland][DwarfDebug] Add applyDwarfVersion() so the targets like NVPTX can recompute the version-derived state (#243256)

`DwarfDebug` derives several settings such as DWARF64, accelerator table
kind, GNU TLS opcode, DWARF2
bitfields, segmented string offsets, .debug_macro, MinimizeAddr, and the
MCContext version and format from the DWARF version in its constructor.
A target that overrides the version after construction could change only
the MCContext value, leaving the rest
derived from a different version.

This change refactors this version-derived state into
DwarfDebug::applyDwarfVersion(unsigned), which the constructor calls and
a target subclass can call again. The version-independent part of the
constructor is unchanged.

`NVPTXDwarfDebug`, which always emits DWARF `v2`, calls this function to
set version 2.
This fixes a module with no "Dwarf Version" flag getting a v2 header
with v4 encodings (`DW_AT_data_bit_offset` instead of

    [4 lines not shown]
DeltaFile
+89-0llvm/test/DebugInfo/dwarf-version-defaults.ll
+26-18llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+27-0llvm/test/DebugInfo/NVPTX/no-dwarf-version-flag.ll
+5-0llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+1-1llvm/lib/Target/NVPTX/NVPTXDwarfDebug.cpp
+148-195 files

LLVM/project 566bfef — llvm/test/Transforms/SROA memory-metadata.ll

Merge branch 'users/yonahgoldberg/metadata-amdgpu' into users/yonahgoldberg/metadata-utils-cleanup
DeltaFile
+1-1llvm/test/Transforms/SROA/memory-metadata.ll
+1-11 files

LLVM/project 10344ab — llvm/test/Transforms/SROA memory-metadata.ll

Merge branch 'users/yonahgoldberg/metadata-scalarizer' into users/yonahgoldberg/metadata-amdgpu
DeltaFile
+1-1llvm/test/Transforms/SROA/memory-metadata.ll
+1-11 files

LLVM/project bb05591 — llvm/test/Transforms/SROA memory-metadata.ll

Merge branch 'users/yonahgoldberg/metadata-masked-scalarization' into users/yonahgoldberg/metadata-scalarizer
DeltaFile
+1-1llvm/test/Transforms/SROA/memory-metadata.ll
+1-11 files

LLVM/project 12bc21f — llvm/test/Transforms/SROA memory-metadata.ll

Merge branch 'users/yonahgoldberg/metadata-vectorcombine' into users/yonahgoldberg/metadata-masked-scalarization
DeltaFile
+1-1llvm/test/Transforms/SROA/memory-metadata.ll
+1-11 files

LLVM/project c20ef56 — llvm/test/Transforms/SROA memory-metadata.ll

Merge branch 'users/yonahgoldberg/metadata-sroa' into users/yonahgoldberg/metadata-vectorcombine
DeltaFile
+1-1llvm/test/Transforms/SROA/memory-metadata.ll
+1-11 files

LLVM/project d7ff5e8 — llvm/test/Transforms/SROA memory-metadata.ll

[SROA] Simplify memory metadata test data layout
DeltaFile
+1-1llvm/test/Transforms/SROA/memory-metadata.ll
+1-11 files

LLVM/project ed262c3 — clang/include/clang/AST ExprCXX.h, clang/lib/AST ExprCXX.cpp

[Clang] [CUDA] Support ADL kernel launches (#240947)

There are a few places where the parser checks if an identifier is the
callee of a function call by looking at the next token and checking if
it is a '('. This meant that kernel launches (where the next token is
'<<<' instead) were incorrectly not being treated as calls sometimes; in
particular, this led to ADL not functioning correctly with kernels
(https://godbolt.org/z/zbr9fPn8G).

This patch fixes that by checking for '<<<' alongside '(' where
relevant.

Fixes #45327.

Assisted-by: Codex
DeltaFile
+60-0clang/test/SemaCUDA/kernel-call-adl.cu
+55-0clang/test/CodeGenCUDA/kernel-call-adl.cu
+11-16clang/lib/Sema/SemaExpr.cpp
+7-7clang/include/clang/AST/ExprCXX.h
+7-5clang/lib/Sema/SemaDecl.cpp
+5-5clang/lib/AST/ExprCXX.cpp
+145-339 files not shown
+169-5115 files

LLVM/project 5dc14f1 — llvm/test/tools/dsymutil/AArch64 pseudo-probe.test

[dsymutil][test] Make pseudo-probe.test independent of od output format (#243925)

`pseudo-probe.test` matched the raw output of `od -t x1`, but the offset
column and the case of the hex digits are not portable. On z/OS, `od`
prints decimal offsets and uppercase hex, so the CHECK lines never
matched even though dsymutil produced the correct bytes:

```
0000000000 0C C1 75 B9 C0 F1 B6 A8 05 00 00 20 5C 85 5E 09
```

vs. the expected

```
0000000 0c c1 75 b9 c0 f1 b6 a8 05 00 00 20 5c 85 5e 09
```

Use `od -An -v -t x1` to drop the offset column, lowercase the output
with `tr A-F a-f`, and remove the offsets from the CHECK lines. The byte

    [7 lines not shown]
DeltaFile
+11-11llvm/test/tools/dsymutil/AArch64/pseudo-probe.test
+11-111 files

NetBSD/pkgsrc-wip bd5f1d0 — icingaweb2 COMMIT_MSG

Add COMMIT_MSG
DeltaFile
+153-0icingaweb2/COMMIT_MSG
+153-01 files

NetBSD/pkgsrc-wip f58f385 — icingaweb2 options.mk Makefile, icingaweb2/files config.ini resources.ini

Import net/icingaweb2 from pkgsrc proper in order to update it in pkgsrc-wip.
DeltaFile
+2,419-0icingaweb2/PLIST
+288-0icingaweb2/Makefile
+44-0icingaweb2/patches/patch-library_Icinga_Application_webrouter.php
+33-0icingaweb2/files/resources.ini
+20-0icingaweb2/files/config.ini
+18-0icingaweb2/options.mk
+2,822-08 files not shown
+2,880-014 files

NetBSD/pkgsrc-wip 8794e34 — icinga-php-library Makefile PLIST, icinga-php-thirdparty Makefile PLIST

Update icingaweb2 to 2.12.6 (the last version with the monitoring module included).  In turn, import icinga-php-library (0.14.2) and icinga-php-thirdparty (0.12.1).
DeltaFile
+5,025-0icinga-php-thirdparty/PLIST
+145-1,337icingaweb2/PLIST
+782-0icinga-php-library/PLIST
+45-65icingaweb2/Makefile
+106-0icinga-php-thirdparty/Makefile
+62-0icinga-php-library/Makefile
+6,165-1,40213 files not shown
+6,246-1,43319 files

LLVM/project 66e26f5 — llvm/lib/Transforms/Utils ProfileVerify.cpp

[ProfCheck] Set default of profcheck-annotate-mem-ops to false (#243961)

This was accidentally left on in the PR that landed it. Turn it off for
now until we get the failures low enough to enable by default and put
stragglers in profcheck-xfail.txt.
DeltaFile
+1-1llvm/lib/Transforms/Utils/ProfileVerify.cpp
+1-11 files

LLVM/project 79ebb65 — utils/bazel/llvm-project-overlay/flang-rt/lib/runtime BUILD.bazel

[flang-rt][bazel] Configure runtime capabilities for musl and Windows (#243799)

The Bazel Flang runtime assumes Linux glibc capabilities for every
target. Musl lacks execinfo.h, while Windows uses strerror_s instead of
strerror_r, so those target builds fail.

Found while adding Flang support to the
[@llvm](https://github.com/hermeticbuild/hermetic-llvm) BCR module, the
toolchain used by the LLVM Bazel overlay’s --config=hermetic-toolchain.
DeltaFile
+21-8utils/bazel/llvm-project-overlay/flang-rt/lib/runtime/BUILD.bazel
+21-81 files

FreeNAS/freenas 6346e8a — src/middlewared/middlewared/plugins filesystem.py, src/middlewared/middlewared/plugins/truenas_s3 bucket_crud.py

Refuse immutable flag changes on S3 bucket datasets

filesystem.set_zfs_attributes now refuses a request that sets or
clears immutable on the dataset of an S3 bucket, on one path or
recursively. The S3 service sets and clears that flag on the object
versions it retains. Other attributes can still be changed there.

A path above a bucket is not refused. Recursion stops at dataset
boundaries, so a change there never reaches the bucket.

The check covers every BUCKET layout bucket, as the write guards do.
Middleware's own flag changes on pool and encrypted dataset mount
points call the attrs utility directly and are not affected.

The new case in test_s3_bucket.py covers a set and a recursive clear
on the bucket, a change of another attribute, and a recursive change
from the parent dataset.
DeltaFile
+46-0tests/api2/test_s3_bucket.py
+18-1src/middlewared/middlewared/plugins/filesystem.py
+18-0src/middlewared/middlewared/utils/service/path.py
+11-0src/middlewared/middlewared/plugins/truenas_s3/bucket_crud.py
+93-14 files

LLVM/project f0cb365 — llvm/include/llvm/IR RuntimeLibcallsImpl.td RuntimeLibcalls.td, llvm/lib/IR RuntimeLibcalls.cpp

RuntimeLibcalls: Add signatures for the Darwin sincos stret functions

__sincos_stret and __sincosf_stret return a struct holding the 2
results. Describe the C struct return type in the signature table and
lower for the target ABI. This is a vector on x86-64 for float,
through memory on x86-32 and APCS ARM, and as a struct elsewhere.
This replaces the special case that built the types in C++. Ideally we
would be using the ABI library, but it's incomplete for most targets
and it requires some relayering to use here.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+57-45llvm/lib/IR/RuntimeLibcalls.cpp
+10-0llvm/include/llvm/IR/RuntimeLibcalls.h
+3-3llvm/include/llvm/IR/RuntimeLibcalls.td
+3-0llvm/include/llvm/IR/RuntimeLibcallsImpl.td
+2-0llvm/test/TableGen/RuntimeLibcallEmitter.td
+75-485 files

LLVM/project b0ed192 — llvm/lib/Target/AMDGPU SIISelLowering.cpp AMDGPULegalizerInfo.cpp, llvm/test/CodeGen/AMDGPU fdiv-neg-one-rcp-fneg.ll

[AMDGPU] Lower -1.0 / x as fneg (rcp x) (#243129)

Lowering -1.0 / x to rcp (fneg x) pins the fneg to x's producer. After
DAGCombiner turns fma(1.0 / x, fneg y, z) into fma(-1.0 / x, y, z)
(see #199909), the fneg lands on e.g. a v_mul_f32 and forces VOP3
(+4 bytes) instead of being a free modifier on the fma.

Lower it to fneg (rcp x) and let the existing fneg combines place it.
Do the same in GlobalISel, where it also lets -1.0 / sqrt(x) form rsq.

Fixes #187482.
DeltaFile
+194-0llvm/test/CodeGen/AMDGPU/fdiv-neg-one-rcp-fneg.ll
+18-18llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f16.ll
+12-12llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir
+5-5llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+3-3llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+232-385 files

LLVM/project 612a4a2 — llvm/lib/Target/DirectX DXIL.td, llvm/test/CodeGen/DirectX debugbreak.ll

[DirectX] Add dx.op.debugBreak and use it to lower llvm.debugtrap (#241069)

Fixes #231271
DeltaFile
+22-0llvm/test/CodeGen/DirectX/debugbreak.ll
+10-1llvm/lib/Target/DirectX/DXIL.td
+32-12 files

LLVM/project 67c8112 — llvm/lib/Target/ARM ARMISelLowering.cpp, llvm/test/Transforms/AtomicExpand/ARM atomic-load-store-no-native.ll

ARM: Expand atomic load/store orderings without barriers in IR

Targets without native atomics or barriers marked i32 ATOMIC_LOAD and
ATOMIC_STORE as Custom so it could change the lowering based on the
ordering. Orderings stronger than monotonic would use the legalizer's
expansion to ATOMIC_CMP_SWAP/ATOMIC_SWAP libcalls.

Make this ordering decision in the IR expansion hooks instead since
those are expressive enough to represent the ordering constraint. This
moves the handling to AtomicExpand instead of the DAG legalizer. This
is kind of a workaround, ideally the same hook would be used by both
paths. This allows setting accurate LibCall actions on
ATOMIC_LOAD/ATOMIC_STORE.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+150-0llvm/test/Transforms/AtomicExpand/ARM/atomic-load-store-no-native.ll
+23-25llvm/lib/Target/ARM/ARMISelLowering.cpp
+173-252 files

LLVM/project a10585a — llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.cpp

[SandboxVec][LoadStoreVec] Rename ScalarConstReinterpret to SameSizeReinterpret (NFC) (#243765)

Rename `ScalarConstReinterpret` to `SameSizeReinterpret` and update its
comments.

The class reinterprets the bits of a value as another type of the same
size. It is used to pack constants in `createConstantVector()`, and it
will also be used to unpack loads of mixed types in #236647, so the old
name no longer describes it.

No functional change.

Made with [Cursor](https://cursor.com)

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+10-11llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+6-6llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.h
+16-172 files

LLVM/project 68d7a32 — llvm/lib/Transforms/Vectorize/SandboxVectorizer DependencyGraph.cpp, llvm/unittests/Transforms/Vectorize/SandboxVectorizer DependencyGraphTest.cpp

[SandboxVec][DAG] Fix moveInstrNotifier on empty DAG (#243747)

This patch fixes a crash inside an assertion in the DAG move instruction
notifier, when the DAG was empty.
The fix is trivial: if the DAG is empty there is nothing to be done, so
we should early return.
DeltaFile
+21-0llvm/unittests/Transforms/Vectorize/SandboxVectorizer/DependencyGraphTest.cpp
+3-0llvm/lib/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.cpp
+24-02 files

HardenedBSD/src 4a8d061 — lib/libc/stdlib tsearch.3

Merge remote-tracking branch 'rad/freebsd/current/main' into hardened/current/master
DeltaFile
+57-17lib/libc/stdlib/tsearch.3
+57-171 files

LLVM/project c4b1e0d — libc/docs/dev builtin_compatibility.md, libc/include/llvm-libc-macros math-function-macros.h

[libc][math] Define C99 floating-point comparison macros in math.h.

Add `isgreater`, `isgreaterequal`, `isless`, `islessequal`,
`islessgreater`, and `isunordered` to `math-function-macros.h` using
the corresponding `__builtin_is*` intrinsics, along with C and C++
include unit tests.
DeltaFile
+133-0libc/test/include/math_comparison_macros_test.cpp
+46-0libc/test/include/math_comparison_macros_test.c
+27-0libc/test/include/CMakeLists.txt
+22-0utils/bazel/llvm-project-overlay/libc/test/include/BUILD.bazel
+12-1libc/include/llvm-libc-macros/math-function-macros.h
+6-0libc/docs/dev/builtin_compatibility.md
+246-11 files not shown
+250-27 files