[llvm] [LV][NFC] Add "REQUIRES: assert" to new test file (PR #180522)

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 9 05:55:19 PST 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-transforms

Author: David Sherwood (david-arm)

<details>
<summary>Changes</summary>

Fixes a minor test regression introduced by https://github.com/llvm/llvm-project/pull/180226 in file llvm/test/Transforms/LoopVectorize/phi-with-fastflags-vplan.ll

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


1 Files Affected:

- (modified) llvm/test/Transforms/LoopVectorize/phi-with-fastflags-vplan.ll (+1) 


``````````diff
diff --git a/llvm/test/Transforms/LoopVectorize/phi-with-fastflags-vplan.ll b/llvm/test/Transforms/LoopVectorize/phi-with-fastflags-vplan.ll
index f685bf806929c..e451f94715610 100644
--- a/llvm/test/Transforms/LoopVectorize/phi-with-fastflags-vplan.ll
+++ b/llvm/test/Transforms/LoopVectorize/phi-with-fastflags-vplan.ll
@@ -1,4 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --version 6
+; REQUIRES: asserts
 ; RUN: opt -p loop-vectorize -force-vector-width=4 -debug-only=loop-vectorize -disable-output -S %s 2>&1 | FileCheck %s
 
 define void @f(ptr noalias %p, i1 %c) {

``````````

</details>


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


More information about the llvm-commits mailing list