OSDN Git Service

AMDGPU: Add ds_gws_init / ds_gws_barrier intrinsics
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 18 Jun 2019 13:19:57 +0000 (13:19 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 18 Jun 2019 13:19:57 +0000 (13:19 +0000)
commit6a59b73682654043e0be54ba181cfed4afdb5147
tree394e05aab3f5a0f7da6a7a43fad5715e7a6e552e
parent919946cec1b59c04d977927bd4185a19d8b05598
AMDGPU: Add ds_gws_init / ds_gws_barrier intrinsics

There may or may not be additional work to handle this correctly on
SI/CI.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363678 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/IR/IntrinsicsAMDGPU.td
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
lib/Target/AMDGPU/DSInstructions.td
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIInsertWaitcnts.cpp
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIMachineFunctionInfo.h
test/CodeGen/AMDGPU/gws-hazards.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/insert-skips-gws.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.barrier.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.init.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/tail-duplication-convergent.ll