Page MenuHomePhabricator

[mlir] Change the internal representation of FrozenRewritePatternList to use shared_ptr
ClosedPublic

Authored by rriddle on Dec 11 2020, 4:20 PM.

Details

Summary

This will allow for caching pattern lists across multiple pass instances, such as when multithreading. This is an extremely important invariant for PDL patterns, which are compiled at runtime when the FrozenRewritePatternList is built.

Diff Detail

Event Timeline

rriddle created this revision.Dec 11 2020, 4:20 PM
rriddle requested review of this revision.Dec 11 2020, 4:20 PM
mehdi_amini accepted this revision.Dec 11 2020, 5:45 PM
This revision is now accepted and ready to land.Dec 11 2020, 5:45 PM
This revision was landed with ongoing or failed builds.Dec 14 2020, 12:40 PM
This revision was automatically updated to reflect the committed changes.