This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Add canonicalization pattern to drop unit-trip count loops.
AbandonedPublic

Authored by mravishankar on May 11 2020, 10:51 PM.

Details

Reviewers
nicolasvasilache
Summary

Adding unit-trip count loops adds complications to down-stream
progressive lowering. For example when tiling the Linalg operation for
distributing to GPUs unit-trip count loops affect the way the lopo is
distributed to workgroups/threadblocks. This is first of the set of
patterns that canonicalize the use of unit-extent dimensions for
specifying broadcasts.

Diff Detail