This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Include InitTensorOp in tiling canonicalization
ClosedPublic

Authored by antiagainst on Sep 30 2021, 1:08 PM.

Details

Summary

Tiling can create dim ops and those dim ops can take InitTensorOp
as input. Including it in the tiling canonicalization patterns
allows us to fold those dim ops away.

Also sorted the existing ops along the way.

Diff Detail

Event Timeline

antiagainst created this revision.Sep 30 2021, 1:08 PM
antiagainst requested review of this revision.Sep 30 2021, 1:08 PM
mravishankar accepted this revision.Sep 30 2021, 1:10 PM
This revision is now accepted and ready to land.Sep 30 2021, 1:10 PM

why the reordering?

Do you see interferences ?

why the reordering?

Do you see interferences ?

Nah, just to group them logically by dialect and then alphabetically. :)