llvm-project
14bdd06f - [mlir][DialectUtils] Fix 0 step handling in `constantTripCount` (#177329)

Commit
6 days ago
[mlir][DialectUtils] Fix 0 step handling in `constantTripCount` (#177329) A step size of "zero" does not indicate "zero iterations". It may indicate an infinite number of iterations. This commit makes some transformations more conservative. We used to fold away some loops with step size 0 and that's now no longer the case. Relation discussion: https://discourse.llvm.org/t/infinite-loops-and-dead-code/89530
Parents
Loading