This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Update SCCP and the Inliner to use SymbolTableCollection for symbol lookups
ClosedPublic

Authored by rriddle on Oct 15 2020, 7:17 PM.

Details

Summary

This transforms the symbol lookups to O(1) from O(NM), greatly speeding up both passes. For a large MLIR module this shaved seconds off of the compilation time.

Depends On D89512

Diff Detail

Event Timeline

rriddle created this revision.Oct 15 2020, 7:17 PM
rriddle requested review of this revision.Oct 15 2020, 7:17 PM
mehdi_amini accepted this revision.Oct 15 2020, 7:24 PM
This revision is now accepted and ready to land.Oct 15 2020, 7:24 PM
jpienaar accepted this revision.Oct 16 2020, 11:48 AM
This revision was landed with ongoing or failed builds.Oct 16 2020, 12:09 PM
This revision was automatically updated to reflect the committed changes.