1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/Transforms/Inline/2008-09-02-AlwaysInline.ll
2008-09-02 22:16:13 +00:00

11 lines
200 B
LLVM

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