Make phi test a bit more challenging

llvm-svn: 4499
This commit is contained in:
Chris Lattner 2002-11-02 19:45:30 +00:00
parent 16af2d5aa8
commit 856c0850ab
1 changed files with 6 additions and 3 deletions

View File

@ -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
}