Fixes using the signed ceildiv op instead of incorrectly assuming positive loop bounds.
Adjusts the tests.
Paths
| Differential D132953
[mlir] Fix signed ceildiv, loop normalization. ClosedPublic Authored by hgreving on Aug 30 2022, 9:30 AM.
Details Summary Fixes using the signed ceildiv op instead of incorrectly assuming positive loop bounds. Adjusts the tests.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 30 2022, 9:35 AM This revision was landed with ongoing or failed builds.Aug 30 2022, 9:55 AM Closed by commit rG0f6a2cd2aba6: [mlir] Fix signed ceildiv, loop normalization. (authored by hgreving). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 456696 mlir/lib/Dialect/SCF/Utils/Utils.cpp
mlir/test/Dialect/Affine/loop-coalescing.mlir
|