mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-10 22:55:57 +00:00
16 lines
252 B
LLVM
16 lines
252 B
LLVM
|
; RUN: llvm-as < %s | opt -partial-inliner -disable-output
|
||
|
|
||
|
define i32 @f() {
|
||
|
entry:
|
||
|
br label %return
|
||
|
|
||
|
return: ; preds = %entry
|
||
|
ret i32 undef
|
||
|
}
|
||
|
|
||
|
define i32 @g() {
|
||
|
entry:
|
||
|
%0 = call i32 @f()
|
||
|
ret i32 %0
|
||
|
}
|