This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Add loop interchange to CodegenStrategy.
ClosedPublic

Authored by gysit on Sep 29 2021, 11:47 AM.

Details

Summary

Add a loop interchange pass and integrate it with CodegenStrategy.

This patch depends on https://reviews.llvm.org/D110728 and https://reviews.llvm.org/D110746.

Diff Detail

Event Timeline

gysit created this revision.Sep 29 2021, 11:47 AM
gysit requested review of this revision.Sep 29 2021, 11:47 AM
nicolasvasilache accepted this revision.Oct 5 2021, 3:43 AM

can we s/loop/iterator everywhere?
We are really interchanging the order of iterators in a linalg.generic, there are no loops yet per-se.

This revision is now accepted and ready to land.Oct 5 2021, 3:43 AM
gysit updated this revision to Diff 377171.Oct 5 2021, 5:59 AM

Address comments.

gysit updated this revision to Diff 378104.Oct 7 2021, 11:35 PM

Rebase.

This revision was automatically updated to reflect the committed changes.