Avoid visiting an instruction more than once by using a map.
This is similar to https://reviews.llvm.org/rL361416.
Paths
| Differential D67198
[PGO][CHR] Speed up following long, interlinked use-def chains. ClosedPublic Authored by hjyamauchi on Sep 4 2019, 3:45 PM.
Details Summary Avoid visiting an instruction more than once by using a map. This is similar to https://reviews.llvm.org/rL361416.
Diff Detail
Event TimelineComment Actions you can probably speed up it a little by using the insert interface, but it may make code less readable. LGTM This revision is now accepted and ready to land.Sep 4 2019, 7:01 PM Comment Actions
Done. Closed by commit rL371086: [PGO][CHR] Speed up following long, interlinked use-def chains. (authored by hjyamauchi). · Explain WhySep 5 2019, 9:55 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 218802 lib/Transforms/Instrumentation/ControlHeightReduction.cpp
test/Transforms/PGOProfile/chr.ll
|