llvm-project/llvm/test/Transforms/EarlyCSE
Tim Renouf 904343f879 [AMDGPU] Add support for multi-dword s.buffer.load intrinsic
Summary:
Patch by Marek Olsak and David Stuttard, both of AMD.

This adds a new amdgcn intrinsic supporting s.buffer.load, in particular
multiple dword variants. These are convenient to use from some front-end
implementations.

Also modified the existing llvm.SI.load.const intrinsic to common up the
underlying implementation.

This modification also requires that we can lower to non-uniform loads correctly
by splitting larger dword variants into sizes supported by the non-uniform
versions of the load.

V2: Addressed minor review comments.
V3: i1 glc is now i32 cachepolicy for consistency with buffer and
    tbuffer intrinsics, plus fixed formatting issue.
V4: Added glc test.

Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, t-tye, llvm-commits

Differential Revision: https://reviews.llvm.org/D51098

Change-Id: I83a6e00681158bb243591a94a51c7baa445f169b
llvm-svn: 340684
2018-08-25 14:53:17 +00:00
..
AArch64
and_or.ll [EarlyCSE] Propagate conditions of AND and OR instructions 2018-06-14 13:02:13 +00:00
atomics.ll
basic.ll
commute.ll [EarlyCSE] Improve EarlyCSE of some absolute value cases. 2018-05-21 18:42:42 +00:00
conditional.ll
const-speculation.ll
debuginfo-dce.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
edge.ll
fence.ll
flags.ll
floatingpoint.ll
globalsaa-memoryssa.ll
guards.ll
instsimplify-dom.ll
int_sideeffect.ll
intrinsics.ll [AMDGPU] Add support for multi-dword s.buffer.load intrinsic 2018-08-25 14:53:17 +00:00
invariant-loads.ll [EarlyCSE] Don't hide earler invariant.scopes 2018-03-15 18:12:27 +00:00
invariant.start.ll [EarlyCSE] Don't hide earler invariant.scopes 2018-03-15 18:12:27 +00:00
memoryssa.ll [MemorySSA] "Fix" lifetime intrinsic handling 2018-08-10 05:14:43 +00:00
pr33406.ll
read-reg.ll
readnone-mayunwind.ll