Skip to content

Commit b3a9e8f

Browse files
committed
[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)
1 parent cfad8bf commit b3a9e8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/Transforms/LoopVectorize/PowerPC/interleaved-pointer-runtime-check-unprofitable.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2-
; RUN: opt -mtriple=powerpc64-unknown-linux-gnu -mcpu=a2 -S -passes=loop-vectorize < %s -o - | FileCheck %s
2+
; RUN: opt -mtriple=powerpc64-unknown-linux-gnu -mcpu=a2 -S -passes=loop-vectorize -vectorize-memory-check-threshold=60 < %s -o - | FileCheck %s
33

44
; The case will do aggressive interleave on PowerPC, resulting in a lot of memory checks.
55
; (On the A2, always unroll aggressively. In fact, if aggressive interleaving is enabled,

0 commit comments

Comments
 (0)