This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Remove template parameter from loop lowering.
ClosedPublic

Authored by gysit on May 12 2021, 6:31 AM.

Details

Summary

Replace the templated linalgLowerOpToLoops method by three specialized methods linalgOpToLoops, LinalgOpToParallelLoops, and linalgOpToAffineLoops.

Diff Detail

Event Timeline

gysit created this revision.May 12 2021, 6:31 AM
gysit requested review of this revision.May 12 2021, 6:31 AM

Note that the replaceIndexOpsByInductionVariables moves and is otherwise unchanged.

This revision is now accepted and ready to land.May 12 2021, 6:45 AM
nicolasvasilache accepted this revision.May 17 2021, 1:17 AM