summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/GVNHoist/non-trivial-phi.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/GVNHoist/non-trivial-phi.ll')
-rw-r--r--llvm/test/Transforms/GVNHoist/non-trivial-phi.ll34
1 files changed, 0 insertions, 34 deletions
diff --git a/llvm/test/Transforms/GVNHoist/non-trivial-phi.ll b/llvm/test/Transforms/GVNHoist/non-trivial-phi.ll
deleted file mode 100644
index f77ad1bf680..00000000000
--- a/llvm/test/Transforms/GVNHoist/non-trivial-phi.ll
+++ /dev/null
@@ -1,34 +0,0 @@
-; RUN: opt -gvn-hoist %s -S -o - | FileCheck %s
-
-; CHECK: store
-; CHECK-NOT: store
-
-target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
-
-define void @f(i8* %p) {
-entry:
- switch i4 undef, label %if.then30 [
- i4 4, label %if.end
- i4 0, label %if.end
- ]
-
-if.end:
- br label %if.end19
-
-if.end19:
- br i1 undef, label %e, label %e.thread
-
-e.thread:
- store i8 0, i8* %p, align 4
- br label %if.then30
-
-if.then30:
- call void @g()
- unreachable
-
-e:
- store i8 0, i8* %p, align 4
- unreachable
-}
-
-declare void @g()
OpenPOWER on IntegriCloud