1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

[GlobalISel][IRTranslator] Fix a typo in assert.

llvm-svn: 260550
This commit is contained in:
Quentin Colombet 2016-02-11 17:52:28 +00:00
parent 30b98d1d74
commit eafc68135d

View File

@ -38,7 +38,7 @@ const VRegsSequence &IRTranslator::getOrCreateVRegs(const Value *Val) {
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");