1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/test/Transforms/Inline/2008-09-02-NoInline.ll

18 lines
309 B
LLVM
Raw Normal View History

; RUN: opt < %s -inline -S | FileCheck %s
; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
define i32 @fn2() noinline {
; CHECK-LABEL: define i32 @fn2()
entry:
ret i32 1
}
define i32 @fn3() {
; CHECK-LABEL: define i32 @fn3()
entry:
%r = call i32 @fn2()
; CHECK: call i32 @fn2()
ret i32 %r
}