summaryrefslogtreecommitdiffstats
path: root/test/Transforms/Inline/2008-09-02-NoInline.ll
blob: 33c8949afe05077afdad972d216d21c29862f9d1 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: opt < %s -inline -S | grep call | count 1

define i32 @fn2() noinline {
  ret i32 1
}

define i32 @fn3() {
   %r = call i32 @fn2()
   ret i32 %r
}