[llvm] a847e3d - [NFC][AMDGPU] Fix typo in SIRegisterInfo.cpp

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 04:18:33 PDT 2022


Author: Pierre van Houtryve
Date: 2022-08-01T07:01:33-04:00
New Revision: a847e3dc52a6a85a8241250270c4e870e0286685

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

LOG: [NFC][AMDGPU] Fix typo in SIRegisterInfo.cpp

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 17f56a3053ae..417c348ce824 100644
--- a/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
+++ b/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
@@ -2154,7 +2154,7 @@ void SIRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator MI,
             }
 
             if (NewOpc != -1) {
-              // removeOperand doesn't fixup tied operand indexes at it goes, so
+              // removeOperand doesn't fixup tied operand indexes as it goes, so
               // it asserts. Untie vdst_in for now and retie them afterwards.
               int VDstIn = AMDGPU::getNamedOperandIdx(Opc,
                                                      AMDGPU::OpName::vdst_in);


        


More information about the llvm-commits mailing list