diff options
author | Eric Christopher <echristo@gmail.com> | 2019-04-17 02:12:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2019-04-17 02:12:23 +0000 |
commit | a86343512845c9c1fdbac865fea88aa5fce7142a (patch) | |
tree | 666fc6353de19ad8b00e56b67edd33f24104e4a7 /llvm/test/Transforms/HotColdSplit/phi-with-distinct-outlined-values.ll | |
parent | 7f8ca6e3679b3af951cb7a4b1377edfaa3244b93 (diff) | |
download | bcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.tar.gz bcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.zip |
Temporarily Revert "Add basic loop fusion pass."
As it's causing some bot failures (and per request from kbarton).
This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda.
llvm-svn: 358546
Diffstat (limited to 'llvm/test/Transforms/HotColdSplit/phi-with-distinct-outlined-values.ll')
-rw-r--r-- | llvm/test/Transforms/HotColdSplit/phi-with-distinct-outlined-values.ll | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/llvm/test/Transforms/HotColdSplit/phi-with-distinct-outlined-values.ll b/llvm/test/Transforms/HotColdSplit/phi-with-distinct-outlined-values.ll deleted file mode 100644 index cb12befcf46..00000000000 --- a/llvm/test/Transforms/HotColdSplit/phi-with-distinct-outlined-values.ll +++ /dev/null @@ -1,34 +0,0 @@ -; RUN: opt -S -hotcoldsplit -hotcoldsplit-threshold=0 < %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" - -; CHECK-LABEL: define {{.*}}@foo( -; CHECK: phi i32 [ 0, %entry ], [ %p.ce.reload, %codeRepl ] - -; CHECK-LABEL: define {{.*}}@foo.cold.1( -; CHECK: call {{.*}}@sink -; CHECK: %p.ce = phi i32 [ 1, %coldbb ], [ 3, %coldbb2 ] -; CHECK-NEXT: store i32 %p.ce, i32* %p.ce.out - -define void @foo(i32 %cond) { -entry: - %tobool = icmp eq i32 %cond, 0 - br i1 %tobool, label %if.end, label %coldbb - -coldbb: - call void @sink() - call void @sideeffect() - br i1 undef, label %if.end, label %coldbb2 - -coldbb2: - br label %if.end - -if.end: - %p = phi i32 [0, %entry], [1, %coldbb], [3, %coldbb2] - ret void -} - -declare void @sink() cold - -declare void @sideeffect() |