[PATCH] D56845: [AMDGPU] Add some missing always-uniform values.
Neil Henning via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 17 04:10:51 PST 2019
sheredom created this revision.
sheredom added reviewers: nhaehnle, arsenm.
sheredom added a project: AMDGPU.
Herald added subscribers: llvm-commits, t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl.
This commit adds some missing intrinsics into the isAlwaysUniform list for the AMDGPU backend.
Repository:
rL LLVM
https://reviews.llvm.org/D56845
Files:
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
Index: lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
===================================================================
--- lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+++ lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
@@ -579,6 +579,9 @@
return false;
case Intrinsic::amdgcn_readfirstlane:
case Intrinsic::amdgcn_readlane:
+ case Intrinsic::amdgcn_icmp:
+ case Intrinsic::amdgcn_fcmp:
+ case Intrinsic::amdgcn_s_buffer_load:
return true;
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56845.182248.patch
Type: text/x-patch
Size: 492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190117/d763fcc4/attachment.bin>
More information about the llvm-commits
mailing list