[llvm] Add 'REQUIRES: asserts' to Transforms/LoopVectorize/PowerPC/cost-partial-red.ll (PR #221154)
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 4 00:12:29 PDT 2026
https://github.com/zmodem created https://github.com/llvm/llvm-project/pull/221154
The test uses `-debug-only=` which is only available in asserts builds. Follow-up to https://github.com/llvm/llvm-project/pull/214760
>From 2f0569c8d52774eeb03c636f68f1f70c46408c26 Mon Sep 17 00:00:00 2001
From: Hans Wennborg <hans at chromium.org>
Date: Fri, 4 Sep 2026 09:11:10 +0200
Subject: [PATCH] Add 'REQUIRES: asserts' to
Transforms/LoopVectorize/PowerPC/cost-partial-red.ll
The test uses -debug-only= which is only available in asserts builds.
Follow-up to https://github.com/llvm/llvm-project/pull/214760
---
llvm/test/Transforms/LoopVectorize/PowerPC/cost-partial-red.ll | 1 +
1 file changed, 1 insertion(+)
diff --git a/llvm/test/Transforms/LoopVectorize/PowerPC/cost-partial-red.ll b/llvm/test/Transforms/LoopVectorize/PowerPC/cost-partial-red.ll
index c8ad56335e1f7..827f2c04b295f 100644
--- a/llvm/test/Transforms/LoopVectorize/PowerPC/cost-partial-red.ll
+++ b/llvm/test/Transforms/LoopVectorize/PowerPC/cost-partial-red.ll
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
; RUN: opt -vectorizer-maximize-bandwidth -mcpu=pwr8 -S -passes=loop-vectorize -disable-output -debug-only=loop-vectorize < %s 2>&1 | FileCheck --check-prefix=P8COST %s
; NOTE: P9 uses 2x 64-bit vector units, P8 and P10 use 1x 128-bit vector unit
; RUN: opt -vectorizer-maximize-bandwidth -mcpu=pwr9 -S -passes=loop-vectorize -disable-output -debug-only=loop-vectorize < %s 2>&1 | FileCheck --check-prefix=P9COST %s
More information about the llvm-commits
mailing list