Skip to content

Commit ddba2a5

Browse files
committed
AMDGPU: llvm.amdgcn.interp.mov is a source of divergence
Summary: While the result is constant across a single primitive, each pixel shader wave can have pixels from multiple primitives. Reviewers: tstellarAMD, arsenm Subscribers: kzhuravl, wdng, yaxunl, llvm-commits, tony-tye Differential Revision: https://reviews.llvm.org/D27572 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289447 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 123996f commit ddba2a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ static bool isIntrinsicSourceOfDivergence(const TargetIntrinsicInfo *TII,
241241
case Intrinsic::amdgcn_workitem_id_x:
242242
case Intrinsic::amdgcn_workitem_id_y:
243243
case Intrinsic::amdgcn_workitem_id_z:
244+
case Intrinsic::amdgcn_interp_mov:
244245
case Intrinsic::amdgcn_interp_p1:
245246
case Intrinsic::amdgcn_interp_p2:
246247
case Intrinsic::amdgcn_mbcnt_hi:

0 commit comments

Comments
 (0)