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:
3f91ad7
)
Add new testcase for repeated preds
author
Chris Lattner
<sabre@nondot.org>
Sun, 15 Dec 2002 20:52:08 +0000
(20:52 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 15 Dec 2002 20:52:08 +0000
(20:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5056
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/ExecutionEngine/test-phi.ll
patch
|
blob
|
history
diff --git
a/test/ExecutionEngine/test-phi.ll
b/test/ExecutionEngine/test-phi.ll
index 14b1b60ce31ce6fe5f00ff3e47fa90d07d4d8258..9e214382e0335e7c138b8143d701756bb981ade9 100644
(file)
--- a/
test/ExecutionEngine/test-phi.ll
+++ b/
test/ExecutionEngine/test-phi.ll
@@
-11,11
+11,18
@@
Dead:
br label %T
}
+int %test(bool %C) {
+ br bool %C, label %T, label %T
+T:
+ %X = phi int [123, %0], [123, %0]
+ ret int %X
+}
+
int %main() {
br label %Test
Test:
- %X = phi int [
7
, %0], [%Y, %Dead]
- ret int
0
+ %X = phi int [
0
, %0], [%Y, %Dead]
+ ret int
%X
Dead:
%Y = shr int 12, ubyte 4
br label %Test