Skip to content

Commit cca0761

Browse files
committed
one more touch
1 parent aa5ace8 commit cca0761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7769,7 +7769,7 @@ bool AMDGPULegalizerInfo::legalizeIntrinsic(LegalizerHelper &Helper,
77697769
legalizePreloadedArgIntrin(
77707770
MI, MRI, B, AMDGPUFunctionArgInfo::CLUSTER_WORKGROUP_ID_Z);
77717771
case Intrinsic::amdgcn_cluster_workgroup_flat_id:
7772-
return AMDGPU::isGFX1250(ST) &&
7772+
return ST.hasClusters() &&
77737773
legalizeConstHwRegRead(MI, B, AMDGPU::Hwreg::ID_IB_STS2, 21, 4);
77747774
case Intrinsic::amdgcn_cluster_workgroup_max_id_x:
77757775
return ST.hasClusters() &&

0 commit comments

Comments
 (0)