mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
11 lines
183 B
LLVM
11 lines
183 B
LLVM
|
; RUN: llvm-as < %s | opt -inline | llvm-dis | grep call | count 1
|
||
|
|
||
|
define i32 @fn2() notes(inline=never) {
|
||
|
ret i32 1
|
||
|
}
|
||
|
|
||
|
define i32 @fn3() {
|
||
|
%r = call i32 @fn2()
|
||
|
ret i32 %r
|
||
|
}
|