mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
14 lines
215 B
LLVM
14 lines
215 B
LLVM
|
; RUN: llvm-as < %s | opt -simplifycfg -disable-output
|
||
|
|
||
|
bool %foo() {
|
||
|
%X = invoke bool %foo() to label %N unwind label %F
|
||
|
F:
|
||
|
ret bool false
|
||
|
N:
|
||
|
br bool %X, label %A, label %B
|
||
|
A:
|
||
|
ret bool true
|
||
|
B:
|
||
|
ret bool true
|
||
|
}
|