[llvm] Add 'REQUIRES: asserts' to Transforms/LoopVectorize/PowerPC/cost-partial-red.ll (PR #221154)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 4 00:13:08 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-powerpc

Author: Hans Wennborg (zmodem)

<details>
<summary>Changes</summary>

The test uses `-debug-only=` which is only available in asserts builds. Follow-up to https://github.com/llvm/llvm-project/pull/214760

---
Full diff: https://github.com/llvm/llvm-project/pull/221154.diff


1 Files Affected:

- (modified) llvm/test/Transforms/LoopVectorize/PowerPC/cost-partial-red.ll (+1) 


``````````diff
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

``````````

</details>


https://github.com/llvm/llvm-project/pull/221154


More information about the llvm-commits mailing list