This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] Make write permutation lowering work with tensors.
ClosedPublic

Authored by gysit on Feb 2 2022, 12:53 AM.

Details

Summary

Use type inference when building the TransferWriteOp in the TransferWritePermutationLowering. Previously, the result type has been set to Type() which triggers an assertion if the pattern is used with tensors instead of memrefs.

Diff Detail

Event Timeline

gysit created this revision.Feb 2 2022, 12:53 AM
gysit requested review of this revision.Feb 2 2022, 12:53 AM
springerm accepted this revision.Feb 2 2022, 12:58 AM
This revision is now accepted and ready to land.Feb 2 2022, 12:58 AM