Make phi test a bit more challenging

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4499 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-11-02 19:45:30 +00:00
parent 2df035bb3c
commit 275c637208

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
}