This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Fix fusion on tensors operands / bbArg mismatch
ClosedPublic

Authored by nicolasvasilache on Mar 29 2021, 5:45 AM.

Details

Summary

Linalg fusion on tensors has mismatching assumptions on the operand side than on the region bbArg side.
Relax the behavior on the operand/indexing map side so that we better support output operands that may also be read from.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Mar 29 2021, 5:45 AM
gysit accepted this revision.Mar 29 2021, 6:24 AM
gysit added inline comments.
mlir/test/Dialect/Linalg/fusion-tensor.mlir
632–633

nit: debug leftover

This revision is now accepted and ready to land.Mar 29 2021, 6:24 AM