[llvm] AMDGPU: Fix typo in argument allocation error message (PR #145265)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 22 22:10:15 PDT 2025


https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/145265

None

>From c5d21024d13d4028f054baee0091d406637ca5fd Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Mon, 23 Jun 2025 14:09:05 +0900
Subject: [PATCH] AMDGPU: Fix typo in argument allocation error message

---
 llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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));



More information about the llvm-commits mailing list