aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/Inline/2008-09-02-AlwaysInline.ll
blob: 45c9a5a97e9f3098ccb6186927a9f5ffe319008b (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: opt %s  -inline-threshold=0 -inline | llvm-dis | not grep call 

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

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