summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2019-10-25 00:13:52 -0700
committerCraig Topper <craig.topper@gmail.com>2019-10-26 00:27:53 -0700
commita6a37e820cf638dcecb2e4b0f50ca01f5db3f72e (patch)
tree1d1b7927781f77529d2fe7a1ae124ac2fb3121ee
parentedb1a1de1b79c190ed7b76cf889a295c72e73729 (diff)
downloadbcm5719-llvm-a6a37e820cf638dcecb2e4b0f50ca01f5db3f72e.tar.gz
bcm5719-llvm-a6a37e820cf638dcecb2e4b0f50ca01f5db3f72e.zip
[X86][GISel] Fix typo in comment. NFC
-rw-r--r--llvm/lib/Target/X86/X86InstructionSelector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstructionSelector.cpp b/llvm/lib/Target/X86/X86InstructionSelector.cpp
index 2176c59b138..931e8ce7c12 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;
}
OpenPOWER on IntegriCloud