Require asserts for debuginline-cost-delta.ll test

-debug-only=inline-cost does not exist in optimized builds without
asserts and therefore the test fails for such configurations.

Related revision: c965fd942f
This commit is contained in:
Kirill Bobyrev 2020-02-27 13:16:12 +01:00
parent 13f2a5883f
commit 51b5b567cc
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
; Require asserts for -debug-only
; REQUIRES: asserts
; RUN: opt < %s -inline -debug-only=inline-cost -disable-output -print-instruction-deltas 2>&1 | FileCheck %s ; RUN: opt < %s -inline -debug-only=inline-cost -disable-output -print-instruction-deltas 2>&1 | FileCheck %s
; CHECK: Analyzing call of callee1... (caller:foo) ; CHECK: Analyzing call of callee1... (caller:foo)