[llvm] LoopVectorize/test: guard pr72969 with asserts (PR #82653)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 09:10:31 PST 2024


https://github.com/artagnon created https://github.com/llvm/llvm-project/pull/82653

Follow up on 695a9d8 (LoopVectorize: add test for crash in #72969) to guard pr72969.ll with REQUIRES: asserts, in order to be reasonably confident that it will crash reliably.

>From 4d5badec10d3aa2b4c505f2f78216f7afdc9eb3e Mon Sep 17 00:00:00 2001
From: Ramkumar Ramachandra <r at artagnon.com>
Date: Thu, 22 Feb 2024 17:05:41 +0000
Subject: [PATCH] LoopVectorize/test: guard pr72969 with asserts

Follow up on 695a9d8 (LoopVectorize: add test for crash in #72969) to
guard pr72969.ll with REQUIRES: asserts, in order to be reasonably
confident that it will crash reliably.
---
 llvm/test/Transforms/LoopVectorize/X86/pr72969.ll | 1 +
 1 file changed, 1 insertion(+)

diff --git a/llvm/test/Transforms/LoopVectorize/X86/pr72969.ll b/llvm/test/Transforms/LoopVectorize/X86/pr72969.ll
index a54bd39f3ff608..f982695983330f 100644
--- a/llvm/test/Transforms/LoopVectorize/X86/pr72969.ll
+++ b/llvm/test/Transforms/LoopVectorize/X86/pr72969.ll
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: not --crash opt -mtriple=x86_64 -mattr=-avx,-avx2,-avx512f,+sse,-sse2,-sse3,-sse4.2 -passes=loop-vectorize -S < %s
 ; RUN: not --crash opt -mtriple=x86_64 -mattr=-avx,-avx2,-avx512f,+sse,-sse2,-sse3,-sse4.2 -passes=loop-vectorize -force-vector-width=4 -S < %s
 



More information about the llvm-commits mailing list