[llvm] AMDGPU: Fix typo in argument allocation error message (PR #145265)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 22 22:10:45 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Matt Arsenault (arsenm)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/145265.diff
1 Files Affected:
- (modified) llvm/lib/Target/AMDGPU/SIISelLowering.cpp (+1-1)
``````````diff
diff --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
index 931a6363e74e8..0c7b0d7d13bd6 100644
--- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -2459,7 +2459,7 @@ void SITargetLowering::allocateSpecialInputVGPRsFixed(
SIMachineFunctionInfo &Info) const {
Register Reg = CCInfo.AllocateReg(AMDGPU::VGPR31);
if (!Reg)
- report_fatal_error("failed to allocated VGPR for implicit arguments");
+ report_fatal_error("failed to allocate VGPR for implicit arguments");
const unsigned Mask = 0x3ff;
Info.setWorkItemIDX(ArgDescriptor::createRegister(Reg, Mask));
``````````
</details>
https://github.com/llvm/llvm-project/pull/145265
More information about the llvm-commits
mailing list