This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Fix crash in tileAndFuseLinalgOpToParallelLoopsAndSetMarker
ClosedPublic

Authored by antiagainst on Apr 27 2020, 8:48 AM.

Details

Summary

Instead of using llvm_unreachable to guard against fusing linalg.conv,
reject fusing linalg.conv in isFusableInto.

tileLinalgOpImpl is a templated function now and it can operate on
loop.parellel. So we should avoid calling into getForInductionVarOwner
which always assumes loop.for.

Diff Detail

Event Timeline

antiagainst created this revision.Apr 27 2020, 8:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2020, 8:48 AM
This revision is now accepted and ready to land.Apr 27 2020, 9:38 AM
nicolasvasilache accepted this revision.Apr 27 2020, 9:57 AM
This revision was automatically updated to reflect the committed changes.