1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Transforms/Inline/2008-09-02-NoInline.ll
2008-09-26 23:51:19 +00:00

11 lines
172 B
LLVM

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