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

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

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

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

LLVM/project 5d14f8f — offload/test/offloading/fortran dyn_groupprivate.f90, openmp/device/src FortranInterface.cpp

[OpenMP] Add Fortran support routines for dyn_groupprivate (OpenMP 6.1) (#211630)
DeltaFile
+223-0offload/test/offloading/fortran/dyn_groupprivate.f90
+69-0openmp/runtime/test/api/omp61_dyn_gprivate_routines.f90
+63-0openmp/runtime/src/kmp_ftn_entry.h
+52-0openmp/device/src/FortranInterface.cpp
+49-0openmp/module/omp_lib.F90.var
+46-0openmp/module/omp_lib.h.var
+502-05 files not shown
+552-011 files

LLVM/project 95f23a1 — llvm/lib/Target/AMDGPU R600TargetMachine.h R600TargetMachine.cpp

AMDGPU: Use LastSubtargetCache in getSubtargetImpl (#242560)

Reuse the last subtarget for functions with the same function
attribute set and module, or the same subtarget relevant attributes
and module flags, instead of building the subtarget key. This is
faster and works towards all targets using a common pattern.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+32-20llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+17-2llvm/lib/Target/AMDGPU/R600TargetMachine.cpp
+19-0llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
+13-0llvm/lib/Target/AMDGPU/R600TargetMachine.h
+81-224 files

LLVM/project 63c6028 — lldb/source/ValueObject ValueObjectCast.cpp, lldb/test/API/lang/c/ptrauth TestPtrAuth.py

[lldb][test] Fix expected message in TestPtrAuth.py (#243934)

During the review #242399, I updated the error message, but didn't
update the test.  It also fix format error.
DeltaFile
+3-1lldb/test/API/lang/c/ptrauth/TestPtrAuth.py
+2-1lldb/source/ValueObject/ValueObjectCast.cpp
+5-22 files

LLVM/project ed85f09 — llvm/lib/CodeGen CodeGenOptions.td

[CodeGen] Remove more legacy option spellings that have no in-tree use (#243948)

PR #243179 renamed these options and kept the old spellings as aliases.
Nothing in the tree uses the old spellings, so remove them now.
DeltaFile
+1-8llvm/lib/CodeGen/CodeGenOptions.td
+1-81 files

LLVM/project f749dd2 — llvm/test/Transforms/PGOProfile profcheck-mem-ops.ll profcheck-indirect-calls.ll

[ProfCheck] Mark new VP metadata tests as unsupported (#243947)

These fail under profcheck as profcheck automatically runs prof-inject
which makes one of the verification cases fail.
DeltaFile
+3-0llvm/test/Transforms/PGOProfile/profcheck-mem-ops.ll
+3-0llvm/test/Transforms/PGOProfile/profcheck-indirect-calls.ll
+6-02 files

LLVM/project 5798d9c — llvm/test/tools/llvm-profgen/X86 cs-preinline-icp.test, llvm/tools/llvm-profgen CSPreInliner.h CSPreInliner.cpp

[llvm-profgen] Cache and explain the pre-inliner hot threshold

Compute the hot threshold once in the CSPreInliner constructor instead
of recomputing it for every caller. The input summary stays fixed for
the pre-inliner run.

Document why the ICP checks keep the contextless summary. The loader's
nested summary depends on the inline decisions and can give a lower
threshold. Using a lower estimate could let more indirect targets spend
the caller's inline size budget, leaving less room for other callees.
Rejected contexts instead follow the existing base-profile merge path.
The loader continues to apply its own hotness check.

Clarify nearby comments and diagnostics so a pre-inliner rejection is
not presented as an exact prediction of the loader. Add coverage for an
explicit hot-count override. Profile selection is unchanged.

Assisted-by: GPT-6 Astra
DeltaFile
+23-11llvm/tools/llvm-profgen/CSPreInliner.cpp
+6-0llvm/test/tools/llvm-profgen/X86/cs-preinline-icp.test
+3-2llvm/tools/llvm-profgen/CSPreInliner.h
+32-133 files

LLVM/project 9eacfa2 — llvm/test/tools/llvm-profgen/X86 cs-preinline-icp.test, llvm/test/tools/llvm-profgen/X86/Inputs cs-preinline-icp.prof cs-preinline-icp-map-head.prof

[llvm-profgen] Respect the sample loader's indirect-call promotion limits

The CS pre-inliner can plan to inline a target that the sample loader
will not promote. Keep rejected contexts in the callee's base profile
instead of spending the caller's inline budget on them.

Read the loader's hotness, initial exemption, and maximum-promotion
options. Account for call-target counts being replaced by nested head
estimates as targets are accepted. Leave the compiler thresholds intact.

Apply the gate only to sites with an indirect-call pseudo probe. Collect
that evidence during the existing decoder pass, including functions and
inlinees skipped by the sample GUID filter. Add a decoder callback test
and profile tests for the promotion limits and call-probe checks.

This follows the compiler-side recovery change, which also handles hot
contexts already nested in existing generated profiles.

Assisted-by: GPT-6 Astra
DeltaFile
+137-2llvm/tools/llvm-profgen/CSPreInliner.cpp
+100-0llvm/test/tools/llvm-profgen/X86/cs-preinline-icp.test
+53-0llvm/test/tools/llvm-profgen/X86/Inputs/cs-preinline-icp-probe-type.prof
+48-0llvm/test/tools/llvm-profgen/X86/Inputs/cs-preinline-icp.prof
+48-0llvm/test/tools/llvm-profgen/X86/Inputs/cs-preinline-icp-map-head.prof
+33-0llvm/unittests/MC/MCPseudoProbeTest.cpp
+419-27 files not shown
+500-1113 files

LLVM/project 55ad7cd — llvm/utils/gn/secondary/llvm/lib/DWARFLinker BUILD.gn

[gn build] Port 2081d55f2d8d (#243944)
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/lib/DWARFLinker/BUILD.gn
+1-01 files

LLVM/project 4022ac8 — libc Maintainers.md

[libc] Add dpaoliello (myself) as the Arm64EC maintainer (#231227)

Co-authored-by: lntue <lntue at google.com>
DeltaFile
+4-0libc/Maintainers.md
+4-01 files

LLVM/project baf91dd — llvm/lib/CodeGen CodeGenOptions.td

[CodeGen] Remove legacy option spellings that have no in-tree use (#243946)

PR #243746 renamed these options and kept the old spellings as aliases
(convenient to downstream users that might use them). Nothing in the
tree uses the old spellings, so remove them now.
DeltaFile
+0-14llvm/lib/CodeGen/CodeGenOptions.td
+0-141 files

LLVM/project b708a76 — llvm/lib/CodeGen HardwareLoops.cpp

[HardwareLoops] Remove unused TTI using declaration. NFC (#243832)

It looks like nothing makes use of this TTI typedef any more. Noticed in
passing.
DeltaFile
+0-2llvm/lib/CodeGen/HardwareLoops.cpp
+0-21 files

LLVM/project b453f22 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer shuffle-multivector.ll extract-many-users-buildvector.ll

[𝘀𝗽𝗿] initial version

Created using spr 2.0.0-beta.1
DeltaFile
+432-128llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+176-104llvm/test/Transforms/SLPVectorizer/RISCV/complex-loads.ll
+57-29llvm/test/Transforms/SLPVectorizer/reused-buildvector-matching-vectorized-node.ll
+42-39llvm/test/Transforms/SLPVectorizer/AArch64/long-non-power-of-2.ll
+39-38llvm/test/Transforms/SLPVectorizer/extract-many-users-buildvector.ll
+49-23llvm/test/Transforms/SLPVectorizer/shuffle-multivector.ll
+795-36156 files not shown
+1,100-65762 files

LLVM/project 8daeb2a — llvm/lib/Transforms/IPO SampleProfile.cpp, llvm/test/Transforms/SampleProfile inline-indirect-iterative.ll

[SampleProfile] Recover indirect targets after iterative inlining

An indirect fallback survives when a target is promoted and inlined. Recording its hottest target on every scan can therefore merge samples from an inline copy into the standalone function. Recording only one target also loses samples for other targets that stay out of line.

Collect recovery candidates from the calls that remain after inlining finishes. Use the existing promotion history to exclude promoted targets from the fallback, and recover promoted direct calls separately if they did not inline. This also handles promotion without a successful inline or another iteration.
DeltaFile
+76-51llvm/lib/Transforms/IPO/SampleProfile.cpp
+53-7llvm/test/Transforms/SampleProfile/inline-indirect-iterative.ll
+5-1llvm/test/Transforms/SampleProfile/Inputs/inline-indirect-iterative.prof
+134-593 files

LLVM/project a61ca02 — lldb/source/API SBTypeSynthetic.cpp, lldb/unittests/API CMakeLists.txt SBTypeSyntheticTest.cpp

[lldb] Fix a crash in SBTypeSynthetic::IsEqualTo (#243932)

Comparing a valid SBTypeSynthetic to an invalid one dereferenced a null
pointer.

Assisted-by: Claude
DeltaFile
+24-0lldb/unittests/API/SBTypeSyntheticTest.cpp
+2-0lldb/source/API/SBTypeSynthetic.cpp
+1-0lldb/unittests/API/CMakeLists.txt
+27-03 files

LLVM/project 6b9dc83 — llvm/test/CodeGen/AArch64/Atomics aarch64_be-atomicrmw-lscp.ll aarch64-atomicrmw-lscp.ll, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.512bit.ll amdgcn.bitcast.960bit.ll

Merge intersphinx-llvm-links into intersphinx-clang-links

LLM-aided
DeltaFile
+15,980-15,802llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+1,210-19,870utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+9,174-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lscp.ll
+8,819-0llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-lscp.ll
+4,234-4,282llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+3,948-4,025llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+43,365-43,97912,428 files not shown
+566,860-293,22712,434 files

LLVM/project 43f061d — llvm/test/CodeGen/AArch64/Atomics aarch64_be-atomicrmw-lscp.ll aarch64-atomicrmw-lscp.ll, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.512bit.ll amdgcn.bitcast.960bit.ll

Merge intersphinx-inventory into intersphinx-llvm-links

LLM-aided
DeltaFile
+15,980-15,802llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+1,210-19,870utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+9,174-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lscp.ll
+8,819-0llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-lscp.ll
+4,234-4,282llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+3,948-4,025llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+43,365-43,97912,428 files not shown
+566,860-293,22712,434 files

LLVM/project 0c38541 — llvm/test/CodeGen/AArch64/Atomics aarch64_be-atomicrmw-lscp.ll aarch64-atomicrmw-lscp.ll, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.512bit.ll amdgcn.bitcast.960bit.ll

Merge main into intersphinx-inventory

LLM-aided
DeltaFile
+15,980-15,802llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+1,210-19,870utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+9,174-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lscp.ll
+8,819-0llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-lscp.ll
+4,234-4,282llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+3,948-4,025llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+43,365-43,97912,422 files not shown
+566,859-293,13912,428 files

LLVM/project 50fc4fe — llvm/lib/Target/SPIRV SPIRVPrepareFunctions.cpp, llvm/test/CodeGen/SPIRV/passes SPIRVPrepareFunctions.ll

[SPIR-V] Drop type incompatible attributes after aggregate signature rewrite (#242704)

Retyped functions and calls that kept attributes like nofpclass on i32,
which are rejected by verifier
DeltaFile
+17-1llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
+16-1llvm/test/CodeGen/SPIRV/passes/SPIRVPrepareFunctions.ll
+33-22 files

LLVM/project 38fa1a8 — llvm/lib/CodeGen TwoAddressInstructionPass.cpp MachineCombiner.cpp

[CodeGen] Declare command line options of more passes in TableGen (#243746)

Renames, with the old spellings kept as aliases:

* Negative to positive: -no-stack-coloring, -no-stack-slot-sharing,
  -disable-phi-elim-edge-splitting and -no-phi-elim-live-out-early-exit
  become -stack-coloring, -stack-slot-sharing, -phi-elim-edge-splitting
  and -phi-elim-live-out-early-exit.
* Drop enable-: -enable-shrink-wrap, -enable-shrink-wrap-region-split
  and -enable-tail-merge become -shrink-wrap, -shrink-wrap-region-split
  and -tail-merge, and -enable-spill-copy-elim becomes
  -mcp-spill-copy-elim.
* Add the pass prefix: the MachineLICM options gain machine-licm-, and
  -aggressive-machine-cse, -csuses-threshold, -dataflow-edge-limit and
  -protect-from-escaped-allocas become -machine-cse-aggressive,
  -machine-cse-csuses-threshold, -twoaddr-dataflow-edge-limit and
  -stackcoloring-protect-from-escaped-allocas.

Other changes:

    [6 lines not shown]
DeltaFile
+121-0llvm/lib/CodeGen/CodeGenOptions.td
+16-58llvm/lib/CodeGen/BranchFolding.cpp
+21-40llvm/lib/CodeGen/MachineLICM.cpp
+16-35llvm/lib/CodeGen/StackColoring.cpp
+15-32llvm/lib/CodeGen/MachineCombiner.cpp
+13-27llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
+202-19219 files not shown
+272-29625 files

LLVM/project cbb66fe — libcxx/docs/Helpers Styles.md

[libc++][docs] Make status colors readable in Furo dark mode

The status table cell colors are light pastels. Furo's dark theme uses light
text, so cells such as "Complete" were unreadable. Use darker backgrounds
for the explicit dark theme and for the automatic theme when the browser
prefers a dark color scheme.

LLM-aided
DeltaFile
+18-0libcxx/docs/Helpers/Styles.md
+18-01 files