This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][transform] Extend diagnostics of FuseIntoContainingOp.
ClosedPublic

Authored by ingomueller-net on Jul 20 2023, 1:59 AM.

Details

Summary

This patch extends the diagnostic output of FuseIntoContainingOp when
it fails to find the next producer by also provided the location of the
affected transform op.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2023, 1:59 AM
ingomueller-net requested review of this revision.Jul 20 2023, 1:59 AM
ftynse accepted this revision.Jul 20 2023, 2:12 AM

Would be nice to have a test for this.

This revision is now accepted and ready to land.Jul 20 2023, 2:12 AM

Addressing @ftynse's comments:

  • Add test.
  • Rebase to latest main.
  • Fix expected-error offset, which changed due to last-minute formatting.
This revision was landed with ongoing or failed builds.Jul 21 2023, 2:34 AM
This revision was automatically updated to reflect the committed changes.