From: Kirill Bobyrev Date: Thu, 27 Feb 2020 12:16:12 +0000 (+0100) Subject: Require asserts for debuginline-cost-delta.ll test X-Git-Tag: llvmorg-12-init~13490 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51b5b567ccca8fd3583f5399ccca015c85560036;p=platform%2Fupstream%2Fllvm.git 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: c965fd942f1d2de6179cd1a2f78c78fa4bd74626 --- diff --git a/llvm/test/Transforms/Inline/debuginline-cost-delta.ll b/llvm/test/Transforms/Inline/debuginline-cost-delta.ll index a352c66..4776dad 100644 --- a/llvm/test/Transforms/Inline/debuginline-cost-delta.ll +++ b/llvm/test/Transforms/Inline/debuginline-cost-delta.ll @@ -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 ; CHECK: Analyzing call of callee1... (caller:foo)