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

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 16:27:39 PST 2017


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

Split only the IndirectBr critical edges that need to be split rather than
all. This avoids changing the indirectbr.ll test.

Minor cleanup.


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.125842.patch
Type: text/x-patch
Size: 9982 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171207/a3bc8459/attachment.bin>


More information about the llvm-commits mailing list