mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
b3abae8852
instead of InlineFunction. llvm-svn: 99483
19 lines
320 B
LLVM
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()
|