[PATCH] D40699: Split IndirectBr critical edges before PGO gen/use passes.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 7 17:26:04 PST 2017


yamauchi updated this revision to Diff 126079.
yamauchi added a comment.

Detect indirectbr critical non-MST edges in CFGMST and if none, avoid iterating
over the edges in FuncPGOInstrumentation().


https://reviews.llvm.org/D40699

Files:
  include/llvm/Transforms/Utils/BasicBlockUtils.h
  lib/Transforms/Instrumentation/CFGMST.h
  lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  lib/Transforms/Utils/BreakCriticalEdges.cpp
  test/Transforms/PGOProfile/split-indirectbr-critical-edges.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40699.126079.patch
Type: text/x-patch
Size: 11242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171208/7e8e298b/attachment.bin>


More information about the llvm-commits mailing list