MakeModelGEP: remove too strict assertion

This commit is contained in:
Pietro Fezzardi
2022-09-01 14:31:19 +02:00
parent 28346484f5
commit eb16f4141a
@@ -1190,10 +1190,6 @@ makeBestGEPArgs(const TypedBaseAddress &TBA,
// The current IR indices have been handled, increase the iterator.
++IRIndicesIt;
} else {
// If we ran out of indices in IRAP there's no offset left, so
// consider this to be zero
revng_assert(RestOff.isNullValue());
Back.Index = ConstantInt::get(llvm::IntegerType::get(Ctxt,
64 /*NumBits*/),
RestOff);