This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] NFC affine for op tiling cleanup / utility rename
ClosedPublic

Authored by bondhugula on Apr 18 2020, 3:57 AM.

Details

Summary

Rename mlir::tileCodeGen -> mlir::tilePerfectlyNested to be consistent.
NFC clean up tiling utility code, drop dead code, better comments.
Expose isPerfectlyNested and reuse.

Diff Detail

Event Timeline

bondhugula created this revision.Apr 18 2020, 3:57 AM

Rebase - expose and use isPerfectlyNested utility

rriddle accepted this revision.Apr 18 2020, 10:53 AM
rriddle added inline comments.
mlir/lib/Dialect/Affine/Transforms/LoopTiling.cpp
96–97

Can you just use OperandRange instead?

This revision is now accepted and ready to land.Apr 18 2020, 10:53 AM
bondhugula marked 2 inline comments as done.
bondhugula edited the summary of this revision. (Show Details)

Use OperandRange

bondhugula added inline comments.Apr 18 2020, 11:34 AM
mlir/lib/Dialect/Affine/Transforms/LoopTiling.cpp
96–97

Thanks for catching this.

This revision was automatically updated to reflect the committed changes.