This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Add decompose to CodegenStrategy.
ClosedPublic

Authored by gysit on Nov 30 2021, 6:25 AM.

Details

Summary

Add the decompose patterns that lower higher dimensional convolutions to lower dimensional ones to CodegenStrategy and use CodegenStrategy to test the decompose patterns. Additionally, remove the assertion that checks the anchor op name is set in the CodegenStrategyTest pass. Removing the assertion allows us to simplify the pipelines used in the interchange and decompose tests.

Depends On D114797

Diff Detail

Event Timeline

gysit created this revision.Nov 30 2021, 6:25 AM
gysit requested review of this revision.Nov 30 2021, 6:25 AM
nicolasvasilache accepted this revision.Nov 30 2021, 6:37 AM
This revision is now accepted and ready to land.Nov 30 2021, 6:37 AM
gysit updated this revision to Diff 390700.Nov 30 2021, 6:47 AM

Move decompose in front of generalization.

This revision was automatically updated to reflect the committed changes.