[PATCH] D54189: [HotColdSplitting] Ensure PHIs have unique incoming values

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 7 14:48:23 PST 2018


vsk updated this revision to Diff 173039.
vsk added a comment.

- Do not add duplicate blocks to the outlining region. The test for this is 'forward-dfs-reaches-marked-block.ll'.


https://reviews.llvm.org/D54189

Files:
  llvm/lib/Transforms/IPO/HotColdSplitting.cpp
  llvm/test/Transforms/HotColdSplit/forward-dfs-reaches-marked-block.ll
  llvm/test/Transforms/HotColdSplit/outline-while-loop.ll
  llvm/test/Transforms/HotColdSplit/phi-with-distinct-outlined-values.ll
  llvm/test/Transforms/HotColdSplit/succ-block-with-self-edge.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54189.173039.patch
Type: text/x-patch
Size: 10120 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181107/bdf7a3b2/attachment.bin>


More information about the llvm-commits mailing list