This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

hgreving created this revision.Aug 30 2022, 9:30 AM
hgreving requested review of this revision.Aug 30 2022, 9:31 AM
ftynse accepted this revision.Aug 30 2022, 9:34 AM
ftynse added a reviewer: ftynse.

Nice, we actually have an op for that.

This 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
This revision was automatically updated to reflect the committed changes.