Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix zero type in
expr % 1
simplification (#12913)
This address a bug that previously always replace % 1 expression with a 0 of type i32. This lead to panics/crashes in a lot of places since we expect the type to not change as part of this simplification rule. This patch fixes it by replacing it with a 0 of correct type. This was discovered in #12814
- Loading branch information