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

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 9 05:54:38 PST 2026


https://github.com/david-arm created https://github.com/llvm/llvm-project/pull/180522

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

>From 6b2c05606af7ce2a34d912f5c7971469b815d529 Mon Sep 17 00:00:00 2001
From: David Sherwood <david.sherwood at arm.com>
Date: Mon, 9 Feb 2026 13:52:08 +0000
Subject: [PATCH] [LV][NFC] Add "REQUIRES: assert" to new test file

---
 llvm/test/Transforms/LoopVectorize/phi-with-fastflags-vplan.ll | 1 +
 1 file changed, 1 insertion(+)

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) {



More information about the llvm-commits mailing list