projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26ca7e1
)
A new testcase for a situation that occurs in 181.mcf
author
Chris Lattner
<sabre@nondot.org>
Mon, 16 Feb 2004 05:06:36 +0000
(
05:06
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 16 Feb 2004 05:06:36 +0000
(
05:06
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11493
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/phi.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/phi.ll
b/test/Transforms/InstCombine/phi.ll
index e8eea8f81c95bd7f32ddd8f4793effe8c981566b..96e9e0ba39c0b2bf824dbaebe90db092a71a0d6b 100644
(file)
--- a/
test/Transforms/InstCombine/phi.ll
+++ b/
test/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
+}
+