1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 14:32:51 +01:00
llvm-mirror/test/Regression/Jello/test-phi.ll

23 lines
270 B
LLVM
Raw Normal View History

; test phi node
2002-12-13 11:12:50 +01:00
%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:
%X = phi int [7, %0], [%Y, %Dead]
ret void
Dead:
%Y = shr int 12, ubyte 4
br label %Test
}