bolt/deps/llvm-18.1.8/llvm/test/Transforms/Inline/noinline.ll
2025-02-14 19:21:04 +01:00

18 lines
329 B
LLVM

; RUN: opt -passes=inline -S < %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()