Skip to content

Commit 2e4965c

Browse files
arsenmmiguelcsx
authored andcommitted
AMDGPU: Fix typo in argument allocation error message (llvm#145265)
1 parent 95381f8 commit 2e4965c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2459,7 +2459,7 @@ void SITargetLowering::allocateSpecialInputVGPRsFixed(
24592459
SIMachineFunctionInfo &Info) const {
24602460
Register Reg = CCInfo.AllocateReg(AMDGPU::VGPR31);
24612461
if (!Reg)
2462-
report_fatal_error("failed to allocated VGPR for implicit arguments");
2462+
report_fatal_error("failed to allocate VGPR for implicit arguments");
24632463

24642464
const unsigned Mask = 0x3ff;
24652465
Info.setWorkItemIDX(ArgDescriptor::createRegister(Reg, Mask));

0 commit comments

Comments
 (0)