summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-02 19:45:30 +0000
committerChris Lattner <sabre@nondot.org>2002-11-02 19:45:30 +0000
commit275c637208ee95f80bffd568ef5b7959c776dba6 (patch)
treee84c30dcd653cb124d08a79ac416a70a053df85d /test
parent2df035bb3c3d4296fd1a77fb114611e6779752f0 (diff)
downloadllvm-275c637208ee95f80bffd568ef5b7959c776dba6.tar.gz
llvm-275c637208ee95f80bffd568ef5b7959c776dba6.tar.bz2
llvm-275c637208ee95f80bffd568ef5b7959c776dba6.tar.xz
Make phi test a bit more challenging
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4499 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Jello/test4.ll9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/Jello/test4.ll b/test/Jello/test4.ll
index a406184d80..11aacc10fb 100644
--- a/test/Jello/test4.ll
+++ b/test/Jello/test4.ll
@@ -1,7 +1,10 @@
; test phi node
-int %main() {
+void %main() {
br label %Test
Test:
- %X = phi int [7, %0]
- ret int %X
+ %X = phi int [7, %0], [%Y, %Dead]
+ ret void
+Dead:
+ %Y = shr int 12, ubyte 4
+ br label %Test
}