llvm-6502/test/Transforms/Inline/noinline.ll
Eric Christopher f27e6088a3 Reapply r99451 with a fix to move the NoInline check to the cost functions
instead of InlineFunction.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99483 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-25 04:49:10 +00:00

19 lines
320 B
LLVM

; RUN: opt %s -inline -S | FileCheck %s
; PR6682
declare void @foo() nounwind
define void @bar() nounwind {
entry:
tail call void @foo() nounwind
ret void
}
define void @bazz() nounwind {
entry:
tail call void @bar() nounwind noinline
ret void
}
; CHECK: define void @bazz()
; CHECK: call void @bar()