[PATCH] D53627: [HotColdSplitting] Identify larger cold regions using domtree queries

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 18:15:31 PDT 2018


vsk updated this revision to Diff 170800.
vsk edited the summary of this revision.
vsk added a comment.

- Before this patch, 47KB of text was outlined in a test-suite run (X86, -Os, LNT + externals). After this patch, 134KB was outlined, so roughly a ~3x improvement.
- Fix a typo in a comment.


https://reviews.llvm.org/D53627

Files:
  llvm/lib/Transforms/IPO/HotColdSplitting.cpp
  llvm/test/Transforms/HotColdSplit/do-not-split.ll
  llvm/test/Transforms/HotColdSplit/multiple-exits.ll
  llvm/test/Transforms/HotColdSplit/outline-if-then-else.ll
  llvm/test/Transforms/HotColdSplit/outline-while-loop.ll
  llvm/test/Transforms/HotColdSplit/split-cold-1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53627.170800.patch
Type: text/x-patch
Size: 23719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181024/c5cd5a39/attachment.bin>


More information about the llvm-commits mailing list