[llvm] 140df02 - [SLP][X86] Update test coverage for #111126
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 4 04:29:14 PST 2024
Author: Simon Pilgrim
Date: 2024-12-04T12:28:55Z
New Revision: 140df02aa2917fd9971af3bbf3145e513c1a8b2b
URL: https://github.com/llvm/llvm-project/commit/140df02aa2917fd9971af3bbf3145e513c1a8b2b
DIFF: https://github.com/llvm/llvm-project/commit/140df02aa2917fd9971af3bbf3145e513c1a8b2b.diff
LOG: [SLP][X86] Update test coverage for #111126
I'd copied the test case from #118016 instead of the original #111126 test case
Added:
Modified:
llvm/test/Transforms/SLPVectorizer/X86/store-constant.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/SLPVectorizer/X86/store-constant.ll b/llvm/test/Transforms/SLPVectorizer/X86/store-constant.ll
index 41c3561dd73789..15c878daff26b7 100644
--- a/llvm/test/Transforms/SLPVectorizer/X86/store-constant.ll
+++ b/llvm/test/Transforms/SLPVectorizer/X86/store-constant.ll
@@ -14,12 +14,28 @@ define void @PR111126() {
; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 24), align 8
; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 32), align 16
; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 40), align 8
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 48), align 16
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 56), align 8
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 64), align 16
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 72), align 8
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 80), align 16
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 88), align 8
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 96), align 16
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 104), align 8
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 112), align 16
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 120), align 8
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 128), align 16
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 136), align 8
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 144), align 16
+; SSE-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 152), align 8
; SSE-NEXT: ret void
;
; AVX-LABEL: @PR111126(
; AVX-NEXT: store <4 x i64> splat (i64 1), ptr @arr, align 16
-; AVX-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 32), align 16
-; AVX-NEXT: store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 40), align 8
+; AVX-NEXT: store <4 x i64> splat (i64 1), ptr getelementptr inbounds (i8, ptr @arr, i64 32), align 16
+; AVX-NEXT: store <4 x i64> splat (i64 1), ptr getelementptr inbounds (i8, ptr @arr, i64 64), align 16
+; AVX-NEXT: store <4 x i64> splat (i64 1), ptr getelementptr inbounds (i8, ptr @arr, i64 96), align 16
+; AVX-NEXT: store <4 x i64> splat (i64 1), ptr getelementptr inbounds (i8, ptr @arr, i64 128), align 16
; AVX-NEXT: ret void
;
store i64 1, ptr @arr, align 16
@@ -28,5 +44,19 @@ define void @PR111126() {
store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 24), align 8
store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 32), align 16
store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 40), align 8
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 48), align 16
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 56), align 8
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 64), align 16
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 72), align 8
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 80), align 16
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 88), align 8
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 96), align 16
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 104), align 8
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 112), align 16
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 120), align 8
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 128), align 16
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 136), align 8
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 144), align 16
+ store i64 1, ptr getelementptr inbounds (i8, ptr @arr, i64 152), align 8
ret void
}
More information about the llvm-commits
mailing list