aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-30 19:45:11 +0000
committerChris Lattner <sabre@nondot.org>2004-03-30 19:45:11 +0000
commit5dd784a8cafa41be60952d189ddc0de37b7541e1 (patch)
tree8112f3768156c41f565a6889b53f1de3e1bda779 /test
parent552112f2f8702f2cba8cb5775bc24c3e02ba265c (diff)
downloadexternal_llvm-5dd784a8cafa41be60952d189ddc0de37b7541e1.zip
external_llvm-5dd784a8cafa41be60952d189ddc0de37b7541e1.tar.gz
external_llvm-5dd784a8cafa41be60952d189ddc0de37b7541e1.tar.bz2
Test general value/value selection which we can do now that we use the
select instruction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/SimplifyCFG/PhiEliminate.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Transforms/SimplifyCFG/PhiEliminate.ll b/test/Transforms/SimplifyCFG/PhiEliminate.ll
index e2a4c93..a6b8062 100644
--- a/test/Transforms/SimplifyCFG/PhiEliminate.ll
+++ b/test/Transforms/SimplifyCFG/PhiEliminate.ll
@@ -9,7 +9,7 @@
declare void %use(bool)
declare void %use(int)
-void %test(bool %c, int %V) {
+void %test(bool %c, int %V, int %V2) {
br bool %c, label %T, label %F
T:
br label %F
@@ -22,6 +22,7 @@ F:
%I4 = phi int [17, %T], [5, %0]
%I5 = phi int [%V, %T], [0, %0]
%I6 = phi int [%V, %0], [0, %T]
+ %I7 = phi int [%V, %0], [%V2, %T]
call void %use(bool %B1)
call void %use(bool %B2)
call void %use(int %I1)