[llvm] 5ca78d6 - [AMDGPU] Fix typo for "amdgpu-spill-sgpr-to-vgpr" option description

Xiaodong Liu via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 03:14:39 PDT 2023


Author: Xiaodong Liu
Date: 2023-07-03T18:14:08+08:00
New Revision: 5ca78d697e6530cbea5cd7267628abdf64c60521

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

LOG: [AMDGPU] Fix typo for "amdgpu-spill-sgpr-to-vgpr" option description

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp b/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
index 977ae9f67a2ca3..b46f3c8853ba61 100644
--- a/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
+++ b/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
@@ -31,7 +31,7 @@ using namespace llvm;
 
 static cl::opt<bool> EnableSpillSGPRToVGPR(
   "amdgpu-spill-sgpr-to-vgpr",
-  cl::desc("Enable spilling VGPRs to SGPRs"),
+  cl::desc("Enable spilling SGPRs to VGPRs"),
   cl::ReallyHidden,
   cl::init(true));
 


        


More information about the llvm-commits mailing list