[PATCH] D15476: AMDGPU/SI: Implement AMDGPUTargetTransformInfo::isSourceOfDivergence()
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 14 09:39:31 PST 2015
arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp:153
@@ +152,3 @@
+ // Assume all function calls are a source of divergence.
+ if (isa<CallInst>(V))
+ return true;
----------------
Might as well handle invoke just in case
http://reviews.llvm.org/D15476
More information about the llvm-commits
mailing list