Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backend] Fix arith.index_cast lowering to LLVM. (#4704)
Fix crash when lowering `arith.index_cast` to llvm when the cast truncates or extends the i32 index. `createDestOps` should not `replaceOpWithNewOp` but simply `createOp` because the call-site (`matchAndRewrite`) calls `replaceOp` later on.
- Loading branch information