llvm-project/llvm/test/Transforms/Inline/2008-09-02-AlwaysInline.ll

11 lines
174 B
LLVM

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