[PATCH] D67198: [PGO][CHR] Speed up following long, interlinked use-def chains.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 15:45:49 PDT 2019


yamauchi created this revision.
yamauchi added a reviewer: davidxl.
Herald added a project: LLVM.

Avoid visiting an instruction more than once by using a map.

This is similar to https://reviews.llvm.org/rL361416.


Repository:
  rL LLVM

https://reviews.llvm.org/D67198

Files:
  lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  test/Transforms/PGOProfile/chr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67198.218802.patch
Type: text/x-patch
Size: 7281 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190904/badd6146/attachment.bin>


More information about the llvm-commits mailing list