mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
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()
|