Skip to content

Commit 0667878

Browse files
committed
[SLP][REVEC] Pre-commit test.
1 parent 9270328 commit 0667878

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

llvm/test/Transforms/SLPVectorizer/revec-shufflevector.ll

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,14 @@ entry:
105105
store <4 x i32> %2, ptr %6, align 4
106106
ret void
107107
}
108+
109+
define void @test5(ptr %out) {
110+
entry:
111+
%0 = shufflevector <8 x i32> zeroinitializer, <8 x i32> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
112+
%1 = shufflevector <8 x i32> zeroinitializer, <8 x i32> poison, <4 x i32> <i32 4, i32 5, i32 6, i32 7>
113+
%2 = getelementptr inbounds i32, ptr %out, i64 0
114+
%3 = getelementptr inbounds i32, ptr %out, i64 4
115+
store <4 x i32> %0, ptr %2, align 4
116+
store <4 x i32> %1, ptr %3, align 4
117+
ret void
118+
}

0 commit comments

Comments
 (0)