[llvm] a8f9bae - [NFC] typo fixes (#194908)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 09:53:04 PDT 2026


Author: Zeng Wu
Date: 2026-04-29T12:52:59-04:00
New Revision: a8f9baed968663d5275fa61aedf15188b0ef3a67

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

LOG: [NFC] typo fixes (#194908)

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/SIProgramInfo.cpp b/llvm/lib/Target/AMDGPU/SIProgramInfo.cpp
index 471e2f7a3857c..99255e4060886 100644
--- a/llvm/lib/Target/AMDGPU/SIProgramInfo.cpp
+++ b/llvm/lib/Target/AMDGPU/SIProgramInfo.cpp
@@ -138,11 +138,11 @@ static uint64_t getPGMRSrc1Reg(const SIProgramInfo &ProgInfo,
 
 static uint64_t getComputePGMRSrc2Reg(const GCNSubtarget &ST,
                                       const SIProgramInfo &ProgInfo) {
-  uint64_t MaxNumerUserSGRPs = AMDGPU::getMaxNumUserSGPRs(ST);
+  uint64_t MaxNumUserSGRPs = AMDGPU::getMaxNumUserSGPRs(ST);
   uint64_t Reg = 0;
-  if (MaxNumerUserSGRPs == 32) {
+  if (MaxNumUserSGRPs == 32) {
     Reg = S_00B84C_USER_SGPR_GFX1250(ProgInfo.UserSGPR);
-  } else if (MaxNumerUserSGRPs == 16) {
+  } else if (MaxNumUserSGRPs == 16) {
     Reg = (S_00B84C_USER_SGPR(ProgInfo.UserSGPR) |
            S_00B84C_TRAP_HANDLER(ProgInfo.TrapHandlerEnable));
   } else {


        


More information about the llvm-commits mailing list