This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Fix Generalize transform
ClosedPublic

Authored by nicolasvasilache on Mar 29 2023, 9:08 AM.

Details

Summary

Generalize used to fail on ops that have a null region builder.
This is incorrect, the test should be whether the op has a region or not.
In the future we may want to support 0-region ops with a region builder.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Mar 29 2023, 9:08 AM
ThomasRaoux accepted this revision.Mar 29 2023, 9:14 AM
This revision is now accepted and ready to land.Mar 29 2023, 9:14 AM
This revision was landed with ongoing or failed builds.Mar 31 2023, 12:38 AM
This revision was automatically updated to reflect the committed changes.