[llvm] a6a37e8 - [X86][GISel] Fix typo in comment. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 26 00:28:07 PDT 2019


Author: Craig Topper
Date: 2019-10-26T00:27:53-07:00
New Revision: a6a37e820cf638dcecb2e4b0f50ca01f5db3f72e

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

LOG: [X86][GISel] Fix typo in comment. NFC

Added: 
    

Modified: 
    llvm/lib/Target/X86/X86InstructionSelector.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86InstructionSelector.cpp b/llvm/lib/Target/X86/X86InstructionSelector.cpp
index 2176c59b1382..931e8ce7c127 100644
--- a/llvm/lib/Target/X86/X86InstructionSelector.cpp
+++ b/llvm/lib/Target/X86/X86InstructionSelector.cpp
@@ -1219,7 +1219,7 @@ bool X86InstructionSelector::emitExtractSubreg(unsigned DstReg, unsigned SrcReg,
 
   if (!RBI.constrainGenericRegister(SrcReg, *SrcRC, MRI) ||
       !RBI.constrainGenericRegister(DstReg, *DstRC, MRI)) {
-    LLVM_DEBUG(dbgs() << "Failed to constrain G_TRUNC\n");
+    LLVM_DEBUG(dbgs() << "Failed to constrain EXTRACT_SUBREG\n");
     return false;
   }
 


        


More information about the llvm-commits mailing list