mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
MakeSegmentRef: ignore 128-bit integer constants
This commit is contained in:
@@ -75,7 +75,8 @@ bool MakeSegmentRefPass::runOnFunction(Function &F) {
|
||||
if (BI->getCondition() != Op)
|
||||
continue;
|
||||
|
||||
if (ConstantInt *ConstOp = dyn_cast<CI>(skipCasts(Op))) {
|
||||
ConstantInt *ConstOp = dyn_cast<CI>(skipCasts(Op));
|
||||
if (ConstOp != nullptr and ConstOp->getBitWidth() <= 64) {
|
||||
uint64_t Literal = ConstOp->getZExtValue();
|
||||
|
||||
if (auto Segment = findLiteralInSegments(*Model, Literal); Segment) {
|
||||
|
||||
Reference in New Issue
Block a user