mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
16 lines
244 B
Plaintext
16 lines
244 B
Plaintext
|
; RUN: llvm-as < %s | opt -prune-eh -disable-output
|
||
|
|
||
|
implementation
|
||
|
|
||
|
internal void %callee() { ; does not throw
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
int %caller() {
|
||
|
invoke void %callee() to label %E except label %E
|
||
|
|
||
|
E:
|
||
|
%X = phi int [0, %0], [0, %0]
|
||
|
ret int %X
|
||
|
}
|