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:
333b2fa
)
Test more phi stuff
author
Chris Lattner
<sabre@nondot.org>
Fri, 13 Dec 2002 10:12:50 +0000
(10:12 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 13 Dec 2002 10:12:50 +0000
(10:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5005
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 11aacc10fbf21d76baa9f5aae1b4eb9a10df7214..785a41b4f3518d9b5f30e73efe7dbaa256167326 100644
(file)
--- a/
test/ExecutionEngine/test-phi.ll
+++ b/
test/ExecutionEngine/test-phi.ll
@@
-1,4
+1,16
@@
; test phi node
+
+%Y = global int 6
+
+void %blah(int *%X) {
+ br label %T
+T:
+ phi int* [%X, %0], [%Y, %Dead]
+ ret void
+Dead:
+ br label %T
+}
+
void %main() {
br label %Test
Test: