[llvm] [LoopVectorize] Fix build issue caused by #95920 (PR #96647)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 07:50:32 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-transforms

Author: David Sherwood (david-arm)

<details>
<summary>Changes</summary>



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


1 Files Affected:

- (modified) llvm/test/Transforms/LoopVectorize/AArch64/sve-invalid-costs.ll (+1) 


``````````diff
diff --git a/llvm/test/Transforms/LoopVectorize/AArch64/sve-invalid-costs.ll b/llvm/test/Transforms/LoopVectorize/AArch64/sve-invalid-costs.ll
index ba6ced3bed8eb..487d9788a13fc 100644
--- a/llvm/test/Transforms/LoopVectorize/AArch64/sve-invalid-costs.ll
+++ b/llvm/test/Transforms/LoopVectorize/AArch64/sve-invalid-costs.ll
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: opt < %s -passes=loop-vectorize -mattr=+sve -force-vector-width=4 -debug-only=loop-vectorize \
 ; RUN:   -prefer-predicate-over-epilogue=scalar-epilogue -S -disable-output 2>&1 | FileCheck %s
 target triple = "aarch64-linux-gnu"

``````````

</details>


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


More information about the llvm-commits mailing list