[llvm] 3e16488 - Mark test added in D145155 as requiring asserts since it uses the "-debug-only" option.

Douglas Yung via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 15:03:40 PDT 2023


Author: Douglas Yung
Date: 2023-03-16T15:03:19-07:00
New Revision: 3e16488769b9cd5b5edb6124feaa70d66deaeb0e

URL: https://github.com/llvm/llvm-project/commit/3e16488769b9cd5b5edb6124feaa70d66deaeb0e
DIFF: https://github.com/llvm/llvm-project/commit/3e16488769b9cd5b5edb6124feaa70d66deaeb0e.diff

LOG: Mark test added in D145155 as requiring asserts since it uses the "-debug-only" option.

This should fix the test failure in Release builds.

Added: 
    

Modified: 
    llvm/test/Transforms/LoopVectorize/RISCV/interleaved-cost.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopVectorize/RISCV/interleaved-cost.ll b/llvm/test/Transforms/LoopVectorize/RISCV/interleaved-cost.ll
index 81e3207736cf5..327d622ce4301 100644
--- a/llvm/test/Transforms/LoopVectorize/RISCV/interleaved-cost.ll
+++ b/llvm/test/Transforms/LoopVectorize/RISCV/interleaved-cost.ll
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: opt -passes=loop-vectorize -mtriple=riscv64 -mattr=+v -force-vector-width=2 -debug-only=loop-vectorize -disable-output < %s 2>&1 | FileCheck %s --check-prefix=VF_2
 ; RUN: opt -passes=loop-vectorize -mtriple=riscv64 -mattr=+v -force-vector-width=4 -debug-only=loop-vectorize -disable-output < %s 2>&1 | FileCheck %s --check-prefix=VF_4
 ; RUN: opt -passes=loop-vectorize -mtriple=riscv64 -mattr=+v -force-vector-width=8 -debug-only=loop-vectorize -disable-output < %s 2>&1 | FileCheck %s --check-prefix=VF_8


        


More information about the llvm-commits mailing list