[llvm] b3a9e8f - [LV] Reduce memory-check-threshold for test to preserve original test.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 22 03:08:04 PST 2023
Author: Florian Hahn
Date: 2023-11-22T11:07:24Z
New Revision: b3a9e8f7c0afb00147ab6c6a6ad426de149420dd
URL: https://github.com/llvm/llvm-project/commit/b3a9e8f7c0afb00147ab6c6a6ad426de149420dd
DIFF: https://github.com/llvm/llvm-project/commit/b3a9e8f7c0afb00147ab6c6a6ad426de149420dd.diff
LOG: [LV] Reduce memory-check-threshold for test to preserve original test.
Future patches will remove some redundant instructions for runtime
checks, which brings this test case slightly below the default limit of
128. Force a lower limit to preserve the original spirit of the test
(checking that no interleaving happens if the number of checks is
above he threshold)
Added:
Modified:
llvm/test/Transforms/LoopVectorize/PowerPC/interleaved-pointer-runtime-check-unprofitable.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/LoopVectorize/PowerPC/interleaved-pointer-runtime-check-unprofitable.ll b/llvm/test/Transforms/LoopVectorize/PowerPC/interleaved-pointer-runtime-check-unprofitable.ll
index 297de36608e2541..18f0bee2171d5f6 100644
--- a/llvm/test/Transforms/LoopVectorize/PowerPC/interleaved-pointer-runtime-check-unprofitable.ll
+++ b/llvm/test/Transforms/LoopVectorize/PowerPC/interleaved-pointer-runtime-check-unprofitable.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -mtriple=powerpc64-unknown-linux-gnu -mcpu=a2 -S -passes=loop-vectorize < %s -o - | FileCheck %s
+; RUN: opt -mtriple=powerpc64-unknown-linux-gnu -mcpu=a2 -S -passes=loop-vectorize -vectorize-memory-check-threshold=60 < %s -o - | FileCheck %s
; The case will do aggressive interleave on PowerPC, resulting in a lot of memory checks.
; (On the A2, always unroll aggressively. In fact, if aggressive interleaving is enabled,
More information about the llvm-commits
mailing list