diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp b/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp index e10338dfda7..76f98ff1e5a 100644 --- a/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp +++ b/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp @@ -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"); |

