This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Refactor affine tilePerfectlyNestedLoops to drop validity check
ClosedPublic

Authored by bondhugula on Mar 28 2023, 8:38 AM.

Details

Summary

The affine loop utility tilePerfectlyNestedLoops was checking for the
validity of tiling as well as performing the tiling. This is
inconsistent with how other similar utilities work. Move out the
analysis/check from the utility so that the latter only performs the
mechanics of IR manipulation.

This is NFC/pure move beyond the change in behavior of
tilePerfectlyNestedLoops.

Diff Detail

Event Timeline

bondhugula created this revision.Mar 28 2023, 8:38 AM
bondhugula requested review of this revision.Mar 28 2023, 8:38 AM
springerm accepted this revision.Mar 28 2023, 8:43 AM
This revision is now accepted and ready to land.Mar 28 2023, 8:43 AM