diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-16 05:06:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-16 05:06:36 +0000 |
commit | e9613be389af3b4a7c359d279d1bf14815cedf1e (patch) | |
tree | 6162050cf1cd6aafc45f74d8a8b6ff51071bff09 | |
parent | b36d908f7b14a64c8b9894f1d4c331b482872679 (diff) | |
download | bcm5719-llvm-e9613be389af3b4a7c359d279d1bf14815cedf1e.tar.gz bcm5719-llvm-e9613be389af3b4a7c359d279d1bf14815cedf1e.zip |
A new testcase for a situation that occurs in 181.mcf
llvm-svn: 11493
-rw-r--r-- | llvm/test/Regression/Transforms/InstCombine/phi.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/Regression/Transforms/InstCombine/phi.ll b/llvm/test/Regression/Transforms/InstCombine/phi.ll index e8eea8f81c9..96e9e0ba39c 100644 --- a/llvm/test/Regression/Transforms/InstCombine/phi.ll +++ b/llvm/test/Regression/Transforms/InstCombine/phi.ll @@ -43,3 +43,15 @@ L2: br label %Loop } +bool %test4(bool %A) { + br bool %A, label %BB1, label %BB2 +BB1: + br label %Ret +BB2: + br label %Ret +Ret: + %B = phi int [1000, %BB1], [123, %BB2] + %C = cast int %B to bool + ret bool %C +} + |