Skip to content

Commit

Permalink
fix crash with last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nunoplopes committed Jan 11, 2024
1 parent 9c58e0e commit 8ddbb8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm_util/llvm2alive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ class llvm2alive_ : public llvm::InstVisitor<llvm2alive_, unique_ptr<Instr>> {
continue;
}

gep->addIdx(I.getSequentialElementStride(DL()), *op);
gep->addIdx(I.getSequentialElementStride(DL()).getKnownMinValue(), *op);
}
RETURN_IDENTIFIER(std::move(gep));
}
Expand Down

0 comments on commit 8ddbb8a

Please sign in to comment.