Skip to content

Commit 5b18775

Browse files
committed
[AMDGPU] Fix typo in #89773
Fixes #90281
1 parent 2914a11 commit 5b18775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ SIMachineFunctionInfo::SIMachineFunctionInfo(const Function &F,
110110
}
111111

112112
if (!AMDGPU::isGraphics(CC) ||
113-
((CC == CallingConv::AMDGPU_CS || CC == CallingConv::AMDGPU_CS) &&
113+
((CC == CallingConv::AMDGPU_CS || CC == CallingConv::AMDGPU_Gfx) &&
114114
ST.hasArchitectedSGPRs())) {
115115
if (IsKernel || !F.hasFnAttribute("amdgpu-no-workgroup-id-x"))
116116
WorkGroupIDX = true;

0 commit comments

Comments
 (0)