mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
A new testcase for a situation that occurs in 181.mcf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11493 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -43,3 +43,15 @@ L2:
|
|||||||
br label %Loop
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user