OSDN Git Service

[HotColdSplit] Simplify tests by lowering their splitting thresholds
authorVedant Kumar <vsk@apple.com>
Thu, 17 Jan 2019 21:29:34 +0000 (21:29 +0000)
committerVedant Kumar <vsk@apple.com>
Thu, 17 Jan 2019 21:29:34 +0000 (21:29 +0000)
commit6c24b6f7e25801d6a3ad89b6592b29d139fb9d98
treeb2381fb7ddafebcf8ad478a72db8598cbdb2ba12
parentd67aebfb379280a3d5d74c4aa2b5dcb7880236e0
[HotColdSplit] Simplify tests by lowering their splitting thresholds

This gets rid of the brittle/mysterious calls to @sink()/@sideeffect()
peppered throughout the test cases. They are no longer needed to force
splitting to occur.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351480 91177308-0d34-0410-b5e6-96231b3b80d8
25 files changed:
lib/Transforms/IPO/HotColdSplitting.cpp
test/Transforms/HotColdSplit/X86/do-not-split.ll [moved from test/Transforms/HotColdSplit/do-not-split.ll with 94% similarity]
test/Transforms/HotColdSplit/X86/extraction-subregion-breaks-phis.ll [moved from test/Transforms/HotColdSplit/extraction-subregion-breaks-phis.ll with 97% similarity]
test/Transforms/HotColdSplit/X86/outline-expensive.ll
test/Transforms/HotColdSplit/delete-use-without-def-dbg-val.ll
test/Transforms/HotColdSplit/duplicate-phi-preds-crash.ll
test/Transforms/HotColdSplit/eh-pads.ll
test/Transforms/HotColdSplit/eh-typeid-for.ll
test/Transforms/HotColdSplit/forward-dfs-reaches-marked-block.ll
test/Transforms/HotColdSplit/lifetime-markers-on-inputs.ll
test/Transforms/HotColdSplit/mark-the-whole-func-cold.ll
test/Transforms/HotColdSplit/minsize.ll
test/Transforms/HotColdSplit/multiple-exits.ll
test/Transforms/HotColdSplit/noreturn.ll
test/Transforms/HotColdSplit/outline-cold-asm.ll
test/Transforms/HotColdSplit/outline-disjoint-diamonds.ll
test/Transforms/HotColdSplit/outline-if-then-else.ll
test/Transforms/HotColdSplit/outline-multiple-entry-region.ll
test/Transforms/HotColdSplit/outline-while-loop.ll
test/Transforms/HotColdSplit/phi-with-distinct-outlined-values.ll
test/Transforms/HotColdSplit/region-overlap.ll
test/Transforms/HotColdSplit/split-cold-2.ll
test/Transforms/HotColdSplit/split-out-dbg-val-of-arg.ll
test/Transforms/HotColdSplit/succ-block-with-self-edge.ll
test/Transforms/HotColdSplit/unwind.ll