LLVM/project 21cab1ellvm/test/CodeGen/AMDGPU eliminate-frame-index-v-add-co-u32.mir eliminate-frame-index-s-add-i32.mir

[AMDGPU] Fix CFI emission when scratch instructions are used to spill

4b1cfc5d7c606e "[NFCI][AMDGPU] Final touch before moving to
`GET_SUBTARGETINFO_MACRO` (#177401)" (or more generally the move to
hasFlatScratchEnabled over just enableFlatScratch) was missed during the
CFI upstreaming for AMDGPU, and so we currently define the CFA
incorrectly for the architected flat scratch case.

This incorrect CFI is generated for e.g. gfx942. For such architecture,
the stack pointer (s32) holds a swizzled address (per-lane offset) but
the CFA needs to be an unswizzled address (per-wave).

In the incorrect program, we have a prologue looking like:

        s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
        s_mov_b32 s0, s33
        s_mov_b32 s33, s32
        [...]
        s_add_i32 s32, s32, 16

    [24 lines not shown]
DeltaFile
+76-76llvm/test/CodeGen/AMDGPU/eliminate-frame-index-v-add-co-u32.mir
+50-50llvm/test/CodeGen/AMDGPU/eliminate-frame-index-s-add-i32.mir
+57-37llvm/test/CodeGen/AMDGPU/vgpr-spill.mir
+31-31llvm/test/CodeGen/AMDGPU/eliminate-frame-index-v-add-u32.mir
+20-20llvm/test/CodeGen/AMDGPU/eliminate-frame-index-v-add-co-u32-wave32.mir
+10-10llvm/test/CodeGen/AMDGPU/eliminate-frame-index-s-mov-b32.mir
+244-2249 files not shown
+286-26615 files

LLVM/project 0fae10bllvm/test/CodeGen/AMDGPU misaligned-vgpr-regsequence.mir

[AMDGPU] Add stackPtrOffsetReg to llvm/test/CodeGen/AMDGPU/misaligned-vgpr-regsequence.mir (#209533)

Prepare for this being observable to the CFA generation code.
DeltaFile
+2-0llvm/test/CodeGen/AMDGPU/misaligned-vgpr-regsequence.mir
+2-01 files

LLVM/project f69342fcompiler-rt/lib/sanitizer_common sanitizer_dl.cpp sanitizer_dl.h, compiler-rt/lib/tsan/go buildgo.sh

Reland "[compiler-rt] [sanitizer_common] Fix SIGSEGV in ForEachMappedRegion for DSOs with custom image base" (#209576)

Attempt 2 at #206299, fixing a linkage issue with gotsan on older
versions of glibc. Rather than forcing linkage of libdl (which may not
be safe with go), this just disables the dladdr usage under go builds.
This bug only affected MSAN and DFSAN anyway, and the code should be
unused by TSAN.

`ForEachMappedRegion` processes dynamic linker map entries to track
loaded segments. However, it assumes map->l_addr is the address of the
ELF header. For DSOs linked with a custom preferred image base offset
(e.g. -Wl,--image-base=0x4000000), `map->l_addr` contains the relocation
bias: `map->l_addr = actual_load_address - preferred_base`

In this case, map->l_addr points below the first loaded segment in
unmapped or PROT_NONE memory. Doing a read dereference at this address
triggers a SIGSEGV. Add a call to dladdr() on the dynamic section
pointer map->l_ld to obtain the true ELF header base address.


    [8 lines not shown]
DeltaFile
+12-1compiler-rt/lib/sanitizer_common/sanitizer_dl.cpp
+4-0compiler-rt/lib/sanitizer_common/sanitizer_dl.h
+2-1compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
+3-0compiler-rt/lib/tsan/go/buildgo.sh
+2-0compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cpp
+0-1compiler-rt/test/sanitizer_common/TestCases/Linux/dlopen_image_base.c
+23-36 files

LLVM/project 5245afcllvm/test/CodeGen/SPIRV vk-pushconstant-layout.ll

[NFC][SPIR-V] Remove stale XFAIL in vk-pushconstant-layout.ll (#209447)
DeltaFile
+1-3llvm/test/CodeGen/SPIRV/vk-pushconstant-layout.ll
+1-31 files

LLVM/project fc0b032llvm/lib/Transforms/Utils CallPromotionUtils.cpp, llvm/test/Transforms/SampleProfile icp_target_feature.ll

Revert "[PGO][ICP] Prevent indirect call promotion to functions with incompatible target features" (#209572)

Reverts llvm/llvm-project#208774

The failure that caused the revert last time should be fixed by
37b8e765ce4837a7577e6f762bcdffe4b232759c.
DeltaFile
+0-61llvm/test/Transforms/SampleProfile/icp_target_feature.ll
+0-21llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
+0-822 files

LLVM/project f2126c3llvm/test/CodeGen/AMDGPU xnack-subtarget-feature-disabled.ll xnack-subtarget-feature-any.ll

AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (38)

Mechanically migrate the command-line target spelling on llc/opt RUN lines in
llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the folded
subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+7-7llvm/test/CodeGen/AMDGPU/xnack-subtarget-feature-disabled.ll
+7-7llvm/test/CodeGen/AMDGPU/xnack-subtarget-feature-any.ll
+7-7llvm/test/CodeGen/AMDGPU/xnack-subtarget-feature-enabled.ll
+5-5llvm/test/CodeGen/AMDGPU/xnor.ll
+4-4llvm/test/CodeGen/AMDGPU/xor_add.ll
+3-3llvm/test/CodeGen/AMDGPU/xor3.ll
+33-3313 files not shown
+54-5419 files

LLVM/project 6e90191llvm/test/CodeGen/AMDGPU vopd-combine.mir wave_dispatch_regs.ll

AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (37)

Mechanically migrate the command-line target spelling on llc/opt RUN lines in
llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the folded
subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+7-7llvm/test/CodeGen/AMDGPU/vopd-combine.mir
+6-6llvm/test/CodeGen/AMDGPU/wave_dispatch_regs.ll
+6-6llvm/test/CodeGen/AMDGPU/workitem-intrinsic-opts.ll
+6-6llvm/test/CodeGen/AMDGPU/workgroup-id-in-arch-sgprs.ll
+5-5llvm/test/CodeGen/AMDGPU/wave32.ll
+5-5llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll
+35-3592 files not shown
+196-19698 files

LLVM/project f38f32bllvm/test/CodeGen/AMDGPU unsupported-image-sample.ll unsupported-av-load.ll

AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (35)

Mechanically migrate the command-line target spelling on llc/opt RUN lines in
llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the folded
subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+7-7llvm/test/CodeGen/AMDGPU/unsupported-image-sample.ll
+6-6llvm/test/CodeGen/AMDGPU/unsupported-av-load.ll
+6-6llvm/test/CodeGen/AMDGPU/unsupported-av-store.ll
+6-6llvm/test/CodeGen/AMDGPU/trap-abis.ll
+6-6llvm/test/CodeGen/AMDGPU/uaddsat.ll
+5-5llvm/test/CodeGen/AMDGPU/umed3.ll
+36-3687 files not shown
+197-19793 files

LLVM/project e7431c2llvm/test/CodeGen/AMDGPU vector-reduce-fmin.ll vector-reduce-fmax.ll

AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (36)

Mechanically migrate the command-line target spelling on llc/opt RUN lines in
llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the folded
subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+20-20llvm/test/CodeGen/AMDGPU/vector-reduce-fmin.ll
+20-20llvm/test/CodeGen/AMDGPU/vector-reduce-fmax.ll
+16-16llvm/test/CodeGen/AMDGPU/vector-reduce-fadd.ll
+16-16llvm/test/CodeGen/AMDGPU/vector-reduce-xor.ll
+16-16llvm/test/CodeGen/AMDGPU/vector-reduce-umin.ll
+16-16llvm/test/CodeGen/AMDGPU/vector-reduce-umax.ll
+104-10493 files not shown
+442-44299 files

LLVM/project 7b57de4llvm/test/CodeGen/AMDGPU strict_fadd.f16.ll strict_fmul.f16.ll

AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (34)

Mechanically migrate the command-line target spelling on llc/opt RUN lines in
llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the folded
subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+12-12llvm/test/CodeGen/AMDGPU/strict_fadd.f16.ll
+12-12llvm/test/CodeGen/AMDGPU/strict_fmul.f16.ll
+12-12llvm/test/CodeGen/AMDGPU/strict_fsub.f16.ll
+10-10llvm/test/CodeGen/AMDGPU/strict_ldexp.f16.ll
+8-8llvm/test/CodeGen/AMDGPU/strict_fsub.f32.ll
+8-8llvm/test/CodeGen/AMDGPU/store-atomic-flat.ll
+62-6288 files not shown
+307-30794 files

LLVM/project 2493265llvm/test/CodeGen/AMDGPU si-unify-exit-return-unreachable.ll sram-ecc-default.ll

AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (33)

Mechanically migrate the command-line target spelling on llc/opt RUN lines in
llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the folded
subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+76-80llvm/test/CodeGen/AMDGPU/si-unify-exit-return-unreachable.ll
+8-8llvm/test/CodeGen/AMDGPU/sram-ecc-default.ll
+6-6llvm/test/CodeGen/AMDGPU/simplify-libcalls.ll
+6-6llvm/test/CodeGen/AMDGPU/spill-agpr.mir
+6-6llvm/test/CodeGen/AMDGPU/spillv16.ll
+5-5llvm/test/CodeGen/AMDGPU/smed3.ll
+107-11194 files not shown
+294-298100 files

LLVM/project 21bc62ellvm/test/CodeGen/AMDGPU si-pre-allocate-wwm-regs.mir shufflevector.v3f16.v2f16.ll

AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (32) (#209561)

Mechanically migrate the command-line target spelling on llc/opt RUN
lines in llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the
folded subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+4-4llvm/test/CodeGen/AMDGPU/si-pre-allocate-wwm-regs.mir
+3-3llvm/test/CodeGen/AMDGPU/shufflevector.v3f16.v2f16.ll
+3-3llvm/test/CodeGen/AMDGPU/shufflevector.v2i32.v8i32.ll
+3-3llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v2i64.ll
+3-3llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v3i64.ll
+3-3llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v4i64.ll
+19-1994 files not shown
+243-243100 files

LLVM/project 226b0b5clang/docs ReleaseNotes.md, clang/include/clang/Basic DiagnosticParseKinds.td

[Clang][C2y] Add support for if declarations (N3356 paper) (#198244)

Add support for _if declarations_ in `C2y` mode by exploiting existing
C++ code.

The only new changes to the code is narrowing the code path to `C` mode
and introduce new errors and warnings for some pitfalls with the syntax
and what is expected from the standard and old language modes.

It should be noted that the first clause in the standard paper can only
be declaration. This means we can't allow expression statement in the
first clause of the condition, and that's the goal of the new
warnings/errors. Also this is different from C++ grammar.
DeltaFile
+213-0clang/test/C/C2y/n3267.c
+73-13clang/lib/Parse/ParseExprCXX.cpp
+31-13clang/lib/Parse/ParseStmt.cpp
+25-0clang/docs/ReleaseNotes.md
+4-6clang/include/clang/Parse/Parser.h
+9-0clang/include/clang/Basic/DiagnosticParseKinds.td
+355-323 files not shown
+360-369 files

LLVM/project d0775bdlibc/src/__support/threads/linux futex_utils.h

[libc] Fix potential timespec type mismatch for arm32 targets in futex_utils.h. (#209556)

This causes the arm32 build bots to hang.

Assisted-by: Gemini 3.5 Flash.
DeltaFile
+29-1libc/src/__support/threads/linux/futex_utils.h
+29-11 files

LLVM/project e0b4701llvm/test/CodeGen/AMDGPU shrink-add-sub-constant.ll shlN_add.ll

AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (31) (#209560)

Mechanically migrate the command-line target spelling on llc/opt RUN
lines in llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the
folded subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+12-12llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
+8-8llvm/test/CodeGen/AMDGPU/shlN_add.ll
+5-5llvm/test/CodeGen/AMDGPU/shl.v2i16.ll
+5-5llvm/test/CodeGen/AMDGPU/select-nsz-known-values-to-fmin-fmax.ll
+5-5llvm/test/CodeGen/AMDGPU/shl_add.ll
+4-4llvm/test/CodeGen/AMDGPU/shl_or.ll
+39-3994 files not shown
+217-217100 files

LLVM/project 42b67e5llvm/utils/lit/lit LitConfig.py, llvm/utils/lit/tests/unit LitConfig.py

[lit] Don't crash in _write_message when getsourcefile() returns None (#206957)

LitConfig._write_message currently derives the file to report a
note()/warning()/ error() against with:

    file = os.path.abspath(inspect.getsourcefile(f))

inspect.getsourcefile(f) returns None when the calling frame's source is
not on disk and not in linecache -- for example when lit is packaged
into a zip archive, or when a config is exec'd from a synthetic
filename. In that case os.path.abspath(None) raises TypeError: expected
str, bytes or os.PathLike object, not NoneType, which turns an
informational diagnostic into a fatal config-parse crash.

Fall back to inspect.getfile(f), which returns the frame's co_filename
and is always a str, so the diagnostic is emitted (tagged with
co_filename) instead of crashing. Since all tests normally pass
currently on build bots, this new code should never trigger and only
works as a backup in the case I'm running into on a different test infra

    [4 lines not shown]
DeltaFile
+68-0llvm/utils/lit/tests/unit/LitConfig.py
+5-1llvm/utils/lit/lit/LitConfig.py
+73-12 files

LLVM/project e3227dallvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 crash_scatter_load_reorder.ll

[SLP] Fix ScatterVectorize reorder desyncing scalars from operands

Record the reorder in ReorderIndices instead of permuting the scatter node's
Scalars, keeping them aligned with the per-lane operand list the scheduler
reads.

Fixes #209444

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/209594
DeltaFile
+118-0llvm/test/Transforms/SLPVectorizer/X86/crash_scatter_load_reorder.ll
+11-0llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+129-02 files

LLVM/project 9035d06flang/lib/Optimizer/Transforms/CUDA CUFAddConstructor.cpp, flang/test/Fir/CUDA cuda-managed-descriptor-component.fir

[flang][cuda] Size managed globals with descriptor components via LLVM Type (#209577)

When we do `-cuda -gpu=unified` (or `managed`) on a derived type with an
allocatable/pointer component, recent change
https://github.com/llvm/llvm-project/pull/209292 implicitly
attributed the component making lowering place the enclosing
derived-type global
in CUF managed memory. `CUFAddConstructor` then sizes that global via
`getTypeSizeAndAlignmentOrCrash`, which has no case for the descriptor
component
(`!fir.box<...>`) and aborts.

With this change, instead of aborting, we fall back to converting the
global to its LLVM type which
inlines the fixed-size descriptors, and query the data layout.
DeltaFile
+26-0flang/lib/Optimizer/Transforms/CUDA/CUFAddConstructor.cpp
+17-0flang/test/Fir/CUDA/cuda-managed-descriptor-component.fir
+43-02 files

LLVM/project fbe6300mlir/lib/Dialect/Bufferization/Transforms StaticMemoryPlannerAnalysis.cpp, mlir/test/Dialect/Bufferization/Transforms static-memory-planner-analysis.mlir

[mlir][bufferization] Handle arith.select-based deallocs in static memory planner

Allocs freed indirectly via arith.select chains were previously skipped.
This adds forward select-chain traversal so patterns like:
  %2 = arith.select %c, %0, %1
  memref.dealloc %2
are now handled correctly.

A group constraint ensures that all allocs sharing a select-based
dealloc are either all placed in the arena or all skipped — putting
one alloc in while leaving its peer out would break the dealloc.

Also fixes the O(n*m) block scan in buildAllocInfos by doing a single
upfront pass with a DenseMap index.

Tests added for single-alloc select, shared select-dealloc, and the
two-select two-dealloc pattern.
DeltaFile
+82-38mlir/lib/Dialect/Bufferization/Transforms/StaticMemoryPlannerAnalysis.cpp
+61-0mlir/test/Dialect/Bufferization/Transforms/static-memory-planner-analysis.mlir
+143-382 files

LLVM/project ea56bc3llvm/test/CodeGen/AMDGPU scratch-simple.ll schedule-amdgpu-trackers.ll

AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (30) (#209559)

Mechanically migrate the command-line target spelling on llc/opt RUN
lines in llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the
folded subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+12-12llvm/test/CodeGen/AMDGPU/scratch-simple.ll
+8-8llvm/test/CodeGen/AMDGPU/schedule-amdgpu-trackers.ll
+8-8llvm/test/CodeGen/AMDGPU/scale-offset-global.ll
+8-8llvm/test/CodeGen/AMDGPU/schedule-regpressure-limit2.ll
+8-8llvm/test/CodeGen/AMDGPU/scale-offset-scratch.ll
+6-6llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll
+50-5094 files not shown
+231-231100 files

LLVM/project 527396dllvm/test/CodeGen/AMDGPU remove-incompatible-functions.ll roundeven.ll

AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (29) (#209558)

Mechanically migrate the command-line target spelling on llc/opt RUN
lines in llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the
folded subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+14-14llvm/test/CodeGen/AMDGPU/remove-incompatible-functions.ll
+14-14llvm/test/CodeGen/AMDGPU/roundeven.ll
+10-10llvm/test/CodeGen/AMDGPU/remove-incompatible-wave32-feature.ll
+9-9llvm/test/CodeGen/AMDGPU/s_code_end.ll
+8-8llvm/test/CodeGen/AMDGPU/rsq.f64.ll
+6-6llvm/test/CodeGen/AMDGPU/remove-incompatible-s-time.ll
+61-6196 files not shown
+240-240102 files

LLVM/project b43a007llvm/lib/Transforms/Vectorize VPlan.h VPlanTransforms.cpp

[VPlan] Introduce VPIRFlags::getNWFlagsOrNone (NFC) (#207176)

Similar to getFMFOrNone. Also introduce a default WrapFlagsTy
constructor to go along with it.
DeltaFile
+5-4llvm/lib/Transforms/Vectorize/VPlan.h
+4-4llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-2llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
+10-103 files

LLVM/project 970eb1bclang/test/OpenMP teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp target_teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-llvm.amdgcn.image.sample.a16.ll legalize-store-global.mir

Merge branch 'main' into users/kuilpd/add-source-in-debug-module-flag
DeltaFile
+23,904-12llvm/test/CodeGen/RISCV/clmul.ll
+6,601-5,921llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+12,190-0clang/test/OpenMP/teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+12,098-0clang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+4,734-4,734llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store-global.mir
+4,072-4,024llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.dim.a16.ll
+63,599-14,6916,863 files not shown
+366,431-258,3976,869 files

LLVM/project 9383abfllvm/test/CodeGen/AMDGPU eliminate-frame-index-v-add-co-u32.mir eliminate-frame-index-s-add-i32.mir

[AMDGPU] Fix CFI emission when scratch instructions are used to spill

4b1cfc5d7c606e "[NFCI][AMDGPU] Final touch before moving to
`GET_SUBTARGETINFO_MACRO` (#177401)" (or more generally the move to
hasFlatScratchEnabled over just enableFlatScratch) was missed during the
CFI upstreaming for AMDGPU, and so we currently define the CFA
incorrectly for the architected flat scratch case.

This incorrect CFI is generated for e.g. gfx942. For such architecture,
the stack pointer (s32) holds a swizzled address (per-lane offset) but
the CFA needs to be an unswizzled address (per-wave).

In the incorrect program, we have a prologue looking like:

        s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
        s_mov_b32 s0, s33
        s_mov_b32 s33, s32
        [...]
        s_add_i32 s32, s32, 16

    [24 lines not shown]
DeltaFile
+76-76llvm/test/CodeGen/AMDGPU/eliminate-frame-index-v-add-co-u32.mir
+50-50llvm/test/CodeGen/AMDGPU/eliminate-frame-index-s-add-i32.mir
+57-37llvm/test/CodeGen/AMDGPU/vgpr-spill.mir
+31-31llvm/test/CodeGen/AMDGPU/eliminate-frame-index-v-add-u32.mir
+20-20llvm/test/CodeGen/AMDGPU/eliminate-frame-index-v-add-co-u32-wave32.mir
+10-10llvm/test/CodeGen/AMDGPU/eliminate-frame-index-scalar-bit-ops.mir
+244-2249 files not shown
+286-26615 files

LLVM/project f96db53llvm/test/CodeGen/AMDGPU misaligned-vgpr-regsequence.mir

[AMDGPU] Add stackPtrOffsetReg to llvm/test/CodeGen/AMDGPU/misaligned-vgpr-regsequence.mir

Prepare for this being observable to the CFA generation code.

Change-Id: I56d00133148fd2c8f0e0ed41edca446553c664bc
DeltaFile
+2-0llvm/test/CodeGen/AMDGPU/misaligned-vgpr-regsequence.mir
+2-01 files

LLVM/project 995b722llvm/lib/Target/AMDGPU SIFrameLowering.cpp

[AMDGPU] Fix type for DWARF register number in SIFrameLowering (#209535)

It so happened that using MCRegister here happened to work, but
the encoded dwarf number is definitely not an MCRegister.
DeltaFile
+3-4llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
+3-41 files

LLVM/project e4a959fmlir/utils generate-test-checks.py

[NFC] [MLIR] fix typo in argument desc (#209587)
DeltaFile
+1-1mlir/utils/generate-test-checks.py
+1-11 files

LLVM/project 3e70607libcxx/include/__pstl/backends libdispatch.h

[libc++][pstl] Add missing #pragma GCC system_header to libdispatch.h (#209579)

This adds `#pragma GCC system_header` to libdispatch.h, as removing the
`[system]` attributes in the modulemap surfaced this gap.
DeltaFile
+4-0libcxx/include/__pstl/backends/libdispatch.h
+4-01 files

LLVM/project 46b5654llvm/utils/TableGen/Common CodeGenDAGPatterns.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+2-1llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
+2-11 files

LLVM/project 266c256llvm/include/llvm/CodeGen TargetFrameLowering.h, llvm/lib/CodeGen TargetFrameLoweringImpl.cpp

[CodeGen] Split determineCalleeSaves into smaller functions. (#203981)

The function `getMustPreserveRegisters` - returns the list of registers
that must be preserved by the function.

The function `determineUncondPrologCalleeSaves` - determines which of
the registers reported by `getMustPreserveRegisters` must be saved in
prolog and reloaded in epilog regardless of whether or not they were
modified by the function.
DeltaFile
+38-14llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
+13-0llvm/include/llvm/CodeGen/TargetFrameLowering.h
+51-142 files