diff options
author | Vedant Kumar <vsk@apple.com> | 2019-01-17 21:29:34 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2019-01-17 21:29:34 +0000 |
commit | 32a014d0483e821566e42d68e270f53456b9b1df (patch) | |
tree | b923389c990d518db8d48cab7a4f25ca84b93377 /llvm/test/Transforms/HotColdSplit/delete-use-without-def-dbg-val.ll | |
parent | 48807d0d35638911e9dc65ae793234f2f3f582cb (diff) | |
download | bcm5719-llvm-32a014d0483e821566e42d68e270f53456b9b1df.tar.gz bcm5719-llvm-32a014d0483e821566e42d68e270f53456b9b1df.zip |
[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.
llvm-svn: 351480
Diffstat (limited to 'llvm/test/Transforms/HotColdSplit/delete-use-without-def-dbg-val.ll')
-rw-r--r-- | llvm/test/Transforms/HotColdSplit/delete-use-without-def-dbg-val.ll | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/test/Transforms/HotColdSplit/delete-use-without-def-dbg-val.ll b/llvm/test/Transforms/HotColdSplit/delete-use-without-def-dbg-val.ll index 878db486380..97f5cb8ba6c 100644 --- a/llvm/test/Transforms/HotColdSplit/delete-use-without-def-dbg-val.ll +++ b/llvm/test/Transforms/HotColdSplit/delete-use-without-def-dbg-val.ll @@ -1,4 +1,4 @@ -; RUN: opt -hotcoldsplit -S < %s | FileCheck %s +; RUN: opt -hotcoldsplit -hotcoldsplit-threshold=0 -S < %s | FileCheck %s target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.14.0" @@ -20,8 +20,6 @@ if.end: ; preds = %entry ; We expect this block to be outlined. That kills the definition of %var. %var = add i32 0, 0, !dbg !11 call void @sink() - call void @sink() - call void @sink() br label %cleanup cleanup: |