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:
parent
30b98d1d74
commit
eafc68135d
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user