This is an archive of the discontinued LLVM Phabricator instance.

Cache the memoization data for DynTypedNodes.
ClosedPublic

Authored by sbenza on Aug 28 2014, 7:23 AM.

Details

Summary

Cache the memoization data for DynTypedNodes.
It is free to do so on create(), but expensive to determine dynamically.
It makes clang-tidy run 4% faster in our benchmarks.

Diff Detail

Repository
rL LLVM

Event Timeline

sbenza updated this revision to Diff 13032.Aug 28 2014, 7:23 AM
sbenza retitled this revision from to Cache the memoization data for DynTypedNodes..
sbenza updated this object.
sbenza edited the test plan for this revision. (Show Details)
sbenza added a reviewer: klimek.
sbenza added a subscriber: Unknown Object (MLST).
sbenza updated this object.Aug 28 2014, 8:31 AM
klimek accepted this revision.Aug 28 2014, 8:36 AM
klimek edited edge metadata.

LG

This revision is now accepted and ready to land.Aug 28 2014, 8:36 AM
sbenza updated this object.Aug 28 2014, 8:37 AM
sbenza edited edge metadata.
sbenza closed this revision.Aug 28 2014, 8:58 AM
sbenza updated this revision to Diff 13042.

Closed by commit rL216671 (authored by @sbenza).