forked from OSchip/llvm-project
23 lines
544 B
LLVM
23 lines
544 B
LLVM
; Require asserts for -debug-only
|
|
; REQUIRES: asserts
|
|
|
|
; This test ensures that the hadling of instructions which were not analyzed by
|
|
; '-print-instruction-deltas' flag due to the early exit was done correctly.
|
|
|
|
; RUN: opt < %s -inline -debug-only=inline-cost -disable-output -print-instruction-comments -inline-threshold=0 2>&1 | FileCheck %s
|
|
|
|
; CHECK: No analysis for the instruction
|
|
; CHECK: ret void
|
|
|
|
declare void @callee1()
|
|
|
|
define void @bar() {
|
|
call void @callee1()
|
|
ret void
|
|
}
|
|
|
|
define void @foo() {
|
|
call void @bar()
|
|
ret void
|
|
}
|