]> granicus.if.org Git - llvm/commit
[AMDGPU] Add llvm.amdgcn.softwqm intrinsic
authorCarl Ritson <carl.ritson@amd.com>
Fri, 26 Jul 2019 09:54:12 +0000 (09:54 +0000)
committerCarl Ritson <carl.ritson@amd.com>
Fri, 26 Jul 2019 09:54:12 +0000 (09:54 +0000)
commit64e952bdc5c83fb467acf998db9d5f7da3c0036c
treeaa5aa54181e02a65d725ce521605b8bbced98a2d
parent36e90d38604e892b461d9a9b0311b2719c922399
[AMDGPU] Add llvm.amdgcn.softwqm intrinsic

Add llvm.amdgcn.softwqm intrinsic which behaves like llvm.amdgcn.wqm
only if there is other WQM computation in the shader.

Reviewers: nhaehnle, tpr

Reviewed By: nhaehnle

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

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367097 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsAMDGPU.td
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
lib/Target/AMDGPU/SIFixSGPRCopies.cpp
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIInstructions.td
lib/Target/AMDGPU/SIWholeQuadMode.cpp
test/CodeGen/AMDGPU/llvm.amdgcn.softwqm.ll [new file with mode: 0644]