This is an archive of the discontinued LLVM Phabricator instance.

[mlir][drr] Allow specifying string in location
ClosedPublic

Authored by jpienaar on Apr 9 2020, 5:19 PM.

Details

Summary

The string in the location is used to provide metadata for the fused location
or create a NamedLoc. This allows tagging individual locations to convey
additional rewrite information.

Diff Detail

Event Timeline

jpienaar created this revision.Apr 9 2020, 5:19 PM
antiagainst accepted this revision.Apr 10 2020, 9:58 AM

Cool! :)

mlir/docs/DeclarativeRewrites.md
681

Update example to reflect this change?

mlir/tools/mlir-tblgen/RewriterGen.cpp
688

Debugging leftover?

This revision is now accepted and ready to land.Apr 10 2020, 9:58 AM
jpienaar updated this revision to Diff 256633.Apr 10 2020, 12:42 PM
jpienaar marked 2 inline comments as done.

Adding example & removing leftover debugging

This revision was automatically updated to reflect the committed changes.