[llvm] 38959c4 - Require asserts for test that uses debug flag
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 23 15:24:01 PDT 2021
Author: Teresa Johnson
Date: 2021-04-23T15:23:47-07:00
New Revision: 38959c4624345d7e6b7d726d87c79c083298b189
URL: https://github.com/llvm/llvm-project/commit/38959c4624345d7e6b7d726d87c79c083298b189
DIFF: https://github.com/llvm/llvm-project/commit/38959c4624345d7e6b7d726d87c79c083298b189.diff
LOG: Require asserts for test that uses debug flag
In 10b781fb033ee8d8a02e1050976b3832ad50542a this test was changed to use
the -debug-only flag, which means it now requires asserts aka a
non-release compiler.
Added:
Modified:
llvm/test/Transforms/Inline/ephemeral.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/Inline/ephemeral.ll b/llvm/test/Transforms/Inline/ephemeral.ll
index 7573ec81e89e..7d9bd7130fa3 100644
--- a/llvm/test/Transforms/Inline/ephemeral.ll
+++ b/llvm/test/Transforms/Inline/ephemeral.ll
@@ -1,4 +1,5 @@
; RUN: opt -S -inline %s -debug-only=inline-cost 2>&1 | FileCheck %s
+; REQUIRES: asserts
; Only the load and ret should be included in the instruction count, not
; the instructions feeding the assume.
; CHECK: NumInstructions: 2
More information about the llvm-commits
mailing list