1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Add new testcase for repeated preds

llvm-svn: 5056
This commit is contained in:
Chris Lattner 2002-12-15 20:52:08 +00:00
parent e8acf72d80
commit c3be436a6a

View File

@ -11,11 +11,18 @@ Dead:
br label %T
}
int %test(bool %C) {
br bool %C, label %T, label %T
T:
%X = phi int [123, %0], [123, %0]
ret int %X
}
int %main() {
br label %Test
Test:
%X = phi int [7, %0], [%Y, %Dead]
ret int 0
%X = phi int [0, %0], [%Y, %Dead]
ret int %X
Dead:
%Y = shr int 12, ubyte 4
br label %Test