This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Drop check for output indexing maps.
ClosedPublic

Authored by mravishankar on Aug 25 2022, 8:43 PM.

Details

Summary

The current check for form of the output indexing maps disallows
generic ops that return both a reduced and unreduced value. Such an op
seems like it could fall within the scope of a Strucutred op. Drop the
check. The only load-bearing place this was found to cause isseus was
during vectorization, but the fix for that seems to be simple.

Diff Detail

Event Timeline

mravishankar created this revision.Aug 25 2022, 8:43 PM
Herald added a project: Restricted Project. · View Herald Transcript
mravishankar requested review of this revision.Aug 25 2022, 8:43 PM
This revision is now accepted and ready to land.Aug 25 2022, 8:52 PM
This revision was landed with ongoing or failed builds.Aug 26 2022, 9:16 AM
This revision was automatically updated to reflect the committed changes.

Great, thank you Mahesh, it is exciting to see that you get to such fused cases where you need to encode the meet of a parallel and a reduction iterator.

Would be great to document this change though.