A new testcase for a situation that occurs in 181.mcf

llvm-svn: 11493
This commit is contained in:
Chris Lattner 2004-02-16 05:06:36 +00:00
parent b36d908f7b
commit e9613be389
1 changed files with 12 additions and 0 deletions

View File

@ -43,3 +43,15 @@ L2:
br label %Loop
}
bool %test4(bool %A) {
br bool %A, label %BB1, label %BB2
BB1:
br label %Ret
BB2:
br label %Ret
Ret:
%B = phi int [1000, %BB1], [123, %BB2]
%C = cast int %B to bool
ret bool %C
}