aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/Inline/2008-09-02-AlwaysInline.ll
blob: 188d4c9470e0a0fddca66c1217a2324380dcde96 (plain)
1
2
3
4
5
6
7
8
9
10
; 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
}