This is an archive of the discontinued LLVM Phabricator instance.

MLIR] Add debug support for ignored patterns
ClosedPublic

Authored by frgossen on Sep 8 2020, 8:20 AM.

Details

Summary

The rewrite engine's cost model may determine some patterns to be irrelevant
ahead of their application. These patterns were silently ignored previously and
now cause a message in --debug mode.

Diff Detail

Event Timeline

frgossen created this revision.Sep 8 2020, 8:20 AM
Herald added a project: Restricted Project. · View Herald Transcript
frgossen requested review of this revision.Sep 8 2020, 8:20 AM
mehdi_amini accepted this revision.Sep 8 2020, 9:03 AM
mehdi_amini added inline comments.
mlir/lib/IR/PatternMatch.cpp
242

Nit: I'm not sure the empty line before/after is really warranted.

This revision is now accepted and ready to land.Sep 8 2020, 9:03 AM
frgossen updated this revision to Diff 290649.Sep 9 2020, 12:17 AM
frgossen marked an inline comment as done.

Address comment

This revision was landed with ongoing or failed builds.Sep 9 2020, 12:18 AM
This revision was automatically updated to reflect the committed changes.