LLVM/project 34453b0llvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-interleaved-load-i64-stride-8.ll

rebase

Created using spr 1.3.4
DeltaFile
+22,204-17,874llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+22,733-6,530llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-8.ll
+21,621-6,188llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll
+21,152-6,073llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+14,429-12,423llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
+121,955-68,90013,220 files not shown
+1,240,310-866,39813,226 files

LLVM/project 3e6391allvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-interleaved-load-i64-stride-8.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]
DeltaFile
+22,204-17,874llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+22,733-6,530llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-8.ll
+21,621-6,188llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll
+21,152-6,073llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+14,429-12,423llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
+121,955-68,90013,220 files not shown
+1,240,310-866,39813,226 files

LLVM/project 2ce528allvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-interleaved-load-i64-stride-8.ll

Merge remote-tracking branch 'upstream/main' into users/Enna1/asan-error-message-buffer
DeltaFile
+22,204-17,874llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+22,733-6,530llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-8.ll
+21,621-6,188llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll
+21,152-6,073llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+14,429-12,423llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
+121,955-68,90014,530 files not shown
+1,339,490-886,36214,536 files

LLVM/project 4e5aa21llvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-interleaved-load-i64-stride-8.ll

rename ClSkipPromotableAllocas

Created using spr 1.3.4
DeltaFile
+22,204-17,874llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+22,733-6,530llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-8.ll
+21,621-6,188llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll
+21,152-6,073llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+14,429-12,423llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
+121,955-68,90013,344 files not shown
+1,256,033-867,66813,350 files

LLVM/project 3006cbbllvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-interleaved-load-i64-stride-8.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]
DeltaFile
+22,204-17,874llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+22,733-6,530llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-8.ll
+21,621-6,188llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll
+21,152-6,073llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+14,429-12,423llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
+121,955-68,90013,344 files not shown
+1,256,028-867,66713,350 files

LLVM/project 05d80b9llvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-interleaved-load-i64-stride-8.ll

Fix typos

Created using spr 1.3.5-bogner
DeltaFile
+22,203-17,873llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+22,753-6,518llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-8.ll
+21,619-6,186llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll
+21,176-6,053llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+14,448-12,416llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
+122,015-68,8587,497 files not shown
+721,917-350,7257,503 files

LLVM/project f4bf742llvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-interleaved-load-i64-stride-8.ll

clang-format

Created using spr 1.3.5-bogner
DeltaFile
+22,203-17,873llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+22,753-6,518llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-8.ll
+21,619-6,186llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll
+21,176-6,053llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+14,448-12,416llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
+122,015-68,8587,464 files not shown
+720,055-349,1987,470 files

LLVM/project 9a0ceadllvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-interleaved-load-i64-stride-8.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5-bogner

[skip ci]
DeltaFile
+22,203-17,873llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+22,753-6,518llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-8.ll
+21,619-6,186llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll
+21,176-6,053llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+14,448-12,416llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
+122,015-68,8587,463 files not shown
+720,054-349,1977,469 files

LLVM/project 93d7f2dllvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-interleaved-load-i64-stride-8.ll

Rebase

Created using spr 1.3.5-bogner
DeltaFile
+22,203-17,873llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+22,753-6,518llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-8.ll
+21,619-6,186llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll
+21,176-6,053llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+14,448-12,416llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
+122,015-68,8587,463 files not shown
+720,054-349,1977,469 files

LLVM/project d615e89clang/www cxx_dr_status.html, libcxx/lib/abi i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist

Rebase

Created using spr 1.3.5
DeltaFile
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+2,965-4,216llvm/test/CodeGen/AArch64/vecreduce-add.ll
+1,627-1,626clang/www/cxx_dr_status.html
+1,552-1,523llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
+2,549-0llvm/test/CodeGen/RISCV/calling-conv-ilp32e.ll
+2,334-0libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+30,843-27,1775,979 files not shown
+190,812-83,7465,985 files

LLVM/project 5f2bbd0libcxx/lib/abi i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist, llvm/lib/Support UnicodeNameToCodepointGenerated.cpp

Merge branch 'main' into users/ccc/77891-clang-tidy-check-modernize-use-auto-fails-on-pointer-to-array-types
DeltaFile
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+2,904-4,148llvm/test/CodeGen/AArch64/vecreduce-add.ll
+1,552-1,523llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
+2,549-0llvm/test/CodeGen/RISCV/calling-conv-ilp32e.ll
+2,334-0libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+2,328-0libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+31,483-25,4834,853 files not shown
+133,816-71,0934,859 files

LLVM/project 53fc59bclang/www cxx_dr_status.html, llvm/lib/DWARFLinker DWARFLinker.cpp

Add a comment about the alignment

Created using spr 1.3.4
DeltaFile
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+2,904-4,148llvm/test/CodeGen/AArch64/vecreduce-add.ll
+2,536-2,578llvm/test/CodeGen/AMDGPU/bf16.ll
+2,115-1,748clang/www/cxx_dr_status.html
+1,552-1,523llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
+0-3,064llvm/lib/DWARFLinker/DWARFLinker.cpp
+28,923-32,8736,028 files not shown
+207,223-102,6376,034 files

LLVM/project 8540d6blibcxx/lib/abi i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist, llvm/lib/Support UnicodeNameToCodepointGenerated.cpp

Merge branch 'main' into users/boomanaiden154/exegesis-validation-counters-implementation
DeltaFile
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+2,904-4,148llvm/test/CodeGen/AArch64/vecreduce-add.ll
+1,552-1,523llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
+2,549-0llvm/test/CodeGen/RISCV/calling-conv-ilp32e.ll
+2,334-0libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+2,328-0libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+31,483-25,4834,449 files not shown
+122,386-65,3124,455 files

LLVM/project 289bab8libcxx/lib/abi i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist, llvm/lib/Support UnicodeNameToCodepointGenerated.cpp

Address Davide's comments

Created using spr 1.3.4
DeltaFile
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+2,904-4,148llvm/test/CodeGen/AArch64/vecreduce-add.ll
+1,552-1,523llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
+2,549-0llvm/test/CodeGen/RISCV/calling-conv-ilp32e.ll
+2,334-0libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+2,328-0libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+31,483-25,4834,440 files not shown
+120,936-64,5824,446 files

LLVM/project 6fb9fb0libcxx/lib/abi i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist, llvm/lib/Support UnicodeNameToCodepointGenerated.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]
DeltaFile
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+2,904-4,148llvm/test/CodeGen/AArch64/vecreduce-add.ll
+1,552-1,523llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
+2,549-0llvm/test/CodeGen/RISCV/calling-conv-ilp32e.ll
+2,334-0libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+2,328-0libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+31,483-25,4834,439 files not shown
+120,931-64,5754,445 files

LLVM/project 5072b4flibcxx/lib/abi i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist, llvm/lib/Support UnicodeNameToCodepointGenerated.cpp

rebase

Created using spr 1.3.4
DeltaFile
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+2,904-4,148llvm/test/CodeGen/AArch64/vecreduce-add.ll
+1,552-1,523llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
+2,549-0llvm/test/CodeGen/RISCV/calling-conv-ilp32e.ll
+2,334-0libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+2,328-0libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+31,483-25,4834,427 files not shown
+120,462-64,5424,433 files

LLVM/project 8b44e9clibcxx/lib/abi i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist, llvm/lib/Support UnicodeNameToCodepointGenerated.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]
DeltaFile
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+2,904-4,148llvm/test/CodeGen/AArch64/vecreduce-add.ll
+1,552-1,523llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
+2,549-0llvm/test/CodeGen/RISCV/calling-conv-ilp32e.ll
+2,334-0libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+2,328-0libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+31,483-25,4834,427 files not shown
+120,462-64,5424,433 files

LLVM/project 00ad95allvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/AArch64 vecreduce-add.ll

Merge branch 'main' into users/kparzysz/spr/a05-complete-createBodyOfOp
DeltaFile
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+2,904-4,148llvm/test/CodeGen/AArch64/vecreduce-add.ll
+1,552-1,523llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
+2,549-0llvm/test/CodeGen/RISCV/calling-conv-ilp32e.ll
+1,583-0llvm/test/CodeGen/AMDGPU/call-args-inreg.ll
+759-751llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-4.ll
+29,163-26,2343,638 files not shown
+90,770-52,2323,644 files

LLVM/project 32d2231llvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/AArch64 vecreduce-add.ll

fix .o name in tests

Created using spr 1.3.4
DeltaFile
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+2,904-4,148llvm/test/CodeGen/AArch64/vecreduce-add.ll
+1,552-1,523llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
+2,549-0llvm/test/CodeGen/RISCV/calling-conv-ilp32e.ll
+1,583-0llvm/test/CodeGen/AMDGPU/call-args-inreg.ll
+759-751llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-4.ll
+29,163-26,2343,480 files not shown
+79,502-49,1113,486 files

LLVM/project 9e9907fllvm/test/CodeGen/AMDGPU occupancy-levels.ll fmad-formation-fmul-distribute-denormal-mode.ll, llvm/test/CodeGen/AMDGPU/GlobalISel fdiv.f32.ll

[AMDGPU,test] Change llc -march= to -mtriple= (#75982)

Similar to 806761a7629df268c8aed49657aeccffa6bca449.

For IR files without a target triple, -mtriple= specifies the full
target triple while -march= merely sets the architecture part of the
default target triple, leaving a target triple which may not make sense,
e.g. amdgpu-apple-darwin.

Therefore, -march= is error-prone and not recommended for tests without
a target triple. The issue has been benign as we recognize
$unknown-apple-darwin as ELF instead of rejecting it outrightly.

This patch changes AMDGPU tests to not rely on the default
OS/environment components. Tests that need fixes are not changed:

```
  LLVM :: CodeGen/AMDGPU/fabs.f64.ll
  LLVM :: CodeGen/AMDGPU/fabs.ll

    [5 lines not shown]
DeltaFile
+15-15llvm/test/CodeGen/AMDGPU/occupancy-levels.ll
+14-14llvm/test/CodeGen/AMDGPU/fmad-formation-fmul-distribute-denormal-mode.ll
+13-13llvm/test/CodeGen/AMDGPU/fptrunc.ll
+12-12llvm/test/CodeGen/AMDGPU/remove-incompatible-functions.ll
+12-12llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll
+12-12llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmin.ll
+78-781,993 files not shown
+4,999-4,9991,999 files

LLVM/project ab37937llvm/test/CodeGen/AMDGPU buffer-intrinsics-mmo-offsets.ll ptr-buffer-alias-scheduling.ll, llvm/test/CodeGen/AMDGPU/GlobalISel llvm.amdgcn.raw.ptr.buffer.load.ll llvm.amdgcn.raw.ptr.buffer.store.ll

[AMDGPU] Use resource base for buffer instruction MachineMemOperands

1. Remove the existing code that would encode the constant offsets (if
there were any) on buffer intrinsic operations onto their
`MachineMemOperand`s. As far as I can tell, this use of `offset` has
no substantial impact on the generated code, especially since the same
reasoning is performed by areMemAccessesTriviallyDisjoint().

2. When a buffer resource intrinsic takes a pointer argument as the
base resource/descriptor, place that memory argument in the value
field of the MachineMemOperand attached to that intrinsic.

This is more conservative than what would be produced by more typical
LLVM code using GEP, as the Value (for alias analysis purposes)
corresponding to accessing buffer[0] and buffer[1] is the same.
However, the target-specific analysis of disjoint offsets covers a lot
of the simple usecases.

Despite this limitation, the new buffer intrinsics, combined with

    [11 lines not shown]
DeltaFile
+115-115llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
+153-0llvm/test/CodeGen/AMDGPU/ptr-buffer-alias-scheduling.ll
+35-35llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.ptr.buffer.load.ll
+35-35llvm/test/CodeGen/AMDGPU/legalize-amdgcn.raw.ptr.buffer.load.ll
+33-33llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.ptr.buffer.store.ll
+33-33llvm/test/CodeGen/AMDGPU/legalize-amdgcn.raw.ptr.buffer.store.ll
+404-25153 files not shown
+901-80859 files

LLVM/project faa2c67llvm/test/CodeGen/AMDGPU legalize-amdgcn.raw.ptr.buffer.load.ll legalize-amdgcn.raw.ptr.buffer.store.ll, llvm/test/Transforms/InstCombine/AMDGPU amdgcn-demanded-vector-elts-inseltpoison.ll amdgcn-demanded-vector-elts.ll

[AMDGPU] Add buffer intrinsics that take resources as pointers

In order to enable the LLVM frontend to better analyze buffer
operations (and to potentially enable more precise analyses on the
backend), define versions of the raw and structured buffer intrinsics
that use `ptr addrspace(8)` instead of `<4 x i32>` to represent their
rsrc arguments.

The new intrinsics are named by replacing `buffer.` with `buffer.ptr`.

One advantage to these intrinsic definitions is that, instead of
specifying that a buffer load/store will read/write some memory, we
can indicate that the memory read or written will be based on the
pointer argument. This means that, for example, a read from a
`noalias` buffer can be pulled out of a loop that is modifying a
distinct buffer.

In the future, we will define custom PseudoSourceValues that will
allow us to package up the (buffer, index, offset) triples that buffer

    [18 lines not shown]
DeltaFile
+2,275-0llvm/test/CodeGen/AMDGPU/legalize-amdgcn.raw.ptr.buffer.load.ll
+2,138-0llvm/test/CodeGen/AMDGPU/legalize-amdgcn.raw.ptr.buffer.store.ll
+1,843-0llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts-inseltpoison.ll
+1,842-0llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
+1,627-0llvm/test/CodeGen/AMDGPU/legalize-amdgcn.raw.ptr.tbuffer.store.ll
+1,191-0llvm/test/CodeGen/AMDGPU/mubuf-legalize-operands-non-ptr-intrinsics.ll
+10,916-0158 files not shown
+39,978-1,142164 files

LLVM/project f0415f2llvm/test/CodeGen/AMDGPU buffer-intrinsics-mmo-offsets.ll, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-llvm.amdgcn.image.sample.a16.ll legalize-llvm.amdgcn.image.dim.a16.ll

Re-land "[AMDGPU] Define data layout entries for buffers""

Re-land D145441 with data layout upgrade code fixed to not break OpenMP.

This reverts commit 3f2fbe92d0f40bcb46db7636db9ec3f7e7899b27.

Differential Revision: https://reviews.llvm.org/D149776
DeltaFile
+141-141llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+100-100llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
+84-84llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.dim.a16.ll
+48-48llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.d16.ll
+48-48llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.atomic.dim.a16.ll
+38-38llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.g16.ll
+459-459142 files not shown
+1,411-1,340148 files

LLVM/project 3f2fbe9llvm/test/CodeGen/AMDGPU buffer-intrinsics-mmo-offsets.ll, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-llvm.amdgcn.image.sample.a16.ll legalize-llvm.amdgcn.image.dim.a16.ll

Revert "[AMDGPU] Define data layout entries for buffers"

This reverts commit f9c1ede2543b37fabe9f2d8f8fed5073c475d850.

Differential Revision: https://reviews.llvm.org/D149758
DeltaFile
+141-141llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+100-100llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
+84-84llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.dim.a16.ll
+48-48llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.d16.ll
+48-48llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.atomic.dim.a16.ll
+38-38llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.g16.ll
+459-459142 files not shown
+1,340-1,402148 files

LLVM/project f9c1edellvm/test/CodeGen/AMDGPU buffer-intrinsics-mmo-offsets.ll, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-llvm.amdgcn.image.sample.a16.ll legalize-llvm.amdgcn.image.dim.a16.ll

[AMDGPU] Define data layout entries for buffers

Per discussion at
https://discourse.llvm.org/t/representing-buffer-descriptors-in-the-amdgpu-target-call-for-suggestions/68798,
we define two new address spaces for AMDGCN targets.

The first is address space 7, a non-integral address space (which was
already in the data layout) that has 160-bit pointers (which are
256-bit aligned) and uses a 32-bit offset. These pointers combine a
128-bit buffer descriptor and a 32-bit offset, and will be usable with
normal LLVM operations (load, store, GEP). However, they will be
rewritten out of existence before code generation.

The second of these is address space 8, the address space for "buffer
resources". These will be used to represent the resource arguments to
buffer instructions, and new buffer intrinsics will be defined that
take them instead of <4 x i32> as resource arguments. ptr
addrspace(8). These pointers are 128-bits long (with the same
alignment). They must not be used as the arguments to getelementptr or

    [21 lines not shown]
DeltaFile
+141-141llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+100-100llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
+84-84llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.dim.a16.ll
+48-48llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.atomic.dim.a16.ll
+48-48llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.d16.ll
+38-38llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.g16.ll
+459-459142 files not shown
+1,402-1,340148 files

LLVM/project 43b86bfllvm/test/CodeGen/AMDGPU buffer-intrinsics-mmo-offsets.ll splitkit-getsubrangeformask.ll, llvm/test/CodeGen/AMDGPU/GlobalISel llvm.amdgcn.raw.buffer.store.ll llvm.amdgcn.raw.buffer.load.ll

AMDGPU: Remove BufferPseudoSourceValue

The use of a PSV for buffer intrinsics is misleading because it may be
misinterpreted as all buffer intrinsics accessing the same address in
memory, which is clearly not true.

Instead, build MachineMemOperands without a pointer value but with an
address space, so that address space-based alias analysis can still
work.

There is a lot of test churn because previously address space 4
(constant address space) was used as an address space for buffer
intrinsics. This doesn't make much sense and seems to have been an
accident -- see the change in
AMDGPUTargetMachine::getAddressSpaceForPseudoSourceKind.

Differential Revision: https://reviews.llvm.org/D138711
DeltaFile
+100-100llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
+33-33llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.ll
+33-33llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.load.ll
+30-30llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll
+25-25llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.tbuffer.store.ll
+22-22llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f16.ll
+243-24349 files not shown
+599-60755 files

LLVM/project 48968c4llvm/test/CodeGen/AMDGPU global-atomic-fadd.f64.ll buffer-atomic-fadd.f64.ll, llvm/test/CodeGen/AMDGPU/GlobalISel global-atomic-fadd.f64.ll buffer-atomic-fadd.f64.ll

AMDGPU: Add detailed buffer, global and flat atomic fadd tests

Precommit for D130579 that will remove manual selection and use
patterns from td files. Tests are grouped based on target features.

All patterns have rtn and no-rtn versions.

buffer atomics patterns are selected based on the intrinsic used
(raw or struct) and the offset operand (imm or vgpr):
_offset raw with imm offset
_offen raw with vgpr offset (or large imm offset)
_idxen struct with imm offset
_bothen struct with vgpr offset (or large imm offset)

global and flat atomics are selected via intrinsic or the atomicrmw fadd.
atomicrmw tests have amdgpu-unsafe-fp-atomics=true and non-system scope
since they get expanded otherwise. atomicrmw fadd does not support vector
type, test float and double.


    [9 lines not shown]
DeltaFile
+759-0llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
+260-0llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f64.ll
+254-0llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.f64.ll
+200-0llvm/test/CodeGen/AMDGPU/GlobalISel/buffer-atomic-fadd.f64.ll
+200-0llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f64.ll
+172-0llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f32-no-rtn.ll
+1,845-022 files not shown
+4,131-9928 files