This is an archive of the discontinued LLVM Phabricator instance.

[mlir][SymbolTable] Use Identifier instead of StringRef when looking up symbol name attributes
ClosedPublic

Authored by rriddle on Oct 18 2020, 3:10 PM.

Details

Summary

Using an Identifier is much more efficient for attribute lookups because it uses pointer comparison as opposed to string comparison.

Depends On D89659

Diff Detail

Event Timeline

rriddle created this revision.Oct 18 2020, 3:10 PM
rriddle requested review of this revision.Oct 18 2020, 3:10 PM
jpienaar accepted this revision.Oct 20 2020, 4:31 PM

Nice, thanks

This revision is now accepted and ready to land.Oct 20 2020, 4:31 PM
This revision was landed with ongoing or failed builds.Oct 26 2020, 7:40 PM
This revision was automatically updated to reflect the committed changes.