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

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 23 00:26:13 PDT 2025


Author: Matt Arsenault
Date: 2025-06-23T16:26:10+09:00
New Revision: 16607f64374926a291242c0adeee2133d58b71ca

URL: https://github.com/llvm/llvm-project/commit/16607f64374926a291242c0adeee2133d58b71ca
DIFF: https://github.com/llvm/llvm-project/commit/16607f64374926a291242c0adeee2133d58b71ca.diff

LOG: AMDGPU: Fix typo in argument allocation error message (#145265)

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/SIISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
index 83155ee790df4..c187c8ab45431 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