summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
diff options
context:
space:
mode:
authorTim Corringham <tcorring@amd.com>2019-01-28 13:48:59 +0000
committerTim Corringham <tcorring@amd.com>2019-01-28 13:48:59 +0000
commit824ca3f3dd8584db7a015a550be5ee512d8e362f (patch)
tree6777ac02abf444cfe04c2c4ec86a37824fccb88f /llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
parent575c0855c04f2549025e4a8b4df9e58c80009146 (diff)
downloadbcm5719-llvm-824ca3f3dd8584db7a015a550be5ee512d8e362f.tar.gz
bcm5719-llvm-824ca3f3dd8584db7a015a550be5ee512d8e362f.zip
[AMDGPU] Add intrinsics for 16 bit interpolation
Summary: Added the intrinsics llvm.amdgcn.interp.p1.f16() and llvm.amdgcn.interp.p2.f16() and related LIT test. The p1 intrinsic generates code appropriate for both 16 and 32 bank LDS. Reviewers: #amdgpu, dstuttard, arsenm, tpr Reviewed By: #amdgpu, arsenm Subscribers: jvesely, mgorny, arsenm, kzhuravl, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits Differential Revision: https://reviews.llvm.org/D46754 llvm-svn: 352357
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h b/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
index 557479ab3f6..8b8e16e030c 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
@@ -462,6 +462,9 @@ enum NodeType : unsigned {
INTERP_MOV,
INTERP_P1,
INTERP_P2,
+ INTERP_P1LL_F16,
+ INTERP_P1LV_F16,
+ INTERP_P2_F16,
PC_ADD_REL_OFFSET,
KILL,
DUMMY_CHAIN,
OpenPOWER on IntegriCloud