[llvm] r260550 - [GlobalISel][IRTranslator] Fix a typo in assert.
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 11 09:52:28 PST 2016
Author: qcolombet
Date: Thu Feb 11 11:52:28 2016
New Revision: 260550
URL: http://llvm.org/viewvc/llvm-project?rev=260550&view=rev
Log:
[GlobalISel][IRTranslator] Fix a typo in assert.
Modified:
llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp
Modified: llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp?rev=260550&r1=260549&r2=260550&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp Thu Feb 11 11:52:28 2016
@@ -38,7 +38,7 @@ const VRegsSequence &IRTranslator::getOr
unsigned Size = Val->getType()->getPrimitiveSizeInBits();
unsigned VReg = MRI->createGenericVirtualRegister(Size);
ValRegSequence.push_back(VReg);
- assert(isa<Constant>(Val) && "Not yet implemented");
+ assert(!isa<Constant>(Val) && "Not yet implemented");
}
assert(ValRegSequence.size() == 1 &&
"We support only one vreg per value at the moment");
More information about the llvm-commits
mailing list