llvm-project/llvm/test/Transforms/Inline/2008-11-04-AlwaysInline.ll

8 lines
168 B
LLVM
Raw Normal View History

; RUN: opt %s -always-inline | llvm-dis | grep {@foo}
2008-11-05 09:40:30 +08:00
; Ensure that foo is not removed by always inliner
2008-11-06 02:41:15 +08:00
; PR 2945
2008-11-05 09:40:30 +08:00
define internal i32 @foo() nounwind {
ret i32 0
}