llvm-6502/test/Transforms/Inline/2008-09-02-AlwaysInline.ll
2008-09-26 23:51:19 +00:00

11 lines
192 B
LLVM

; RUN: llvm-as < %s | opt -inline-threshold=0 -inline | llvm-dis | not grep call
define i32 @fn2() alwaysinline {
ret i32 1
}
define i32 @fn3() {
%r = call i32 @fn2()
ret i32 %r
}