Skip to content

Commit e92f2ee

Browse files
committed
[SLP][REVEC] Pre-commit test.
1 parent d77ef14 commit e92f2ee

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2+
; RUN: opt -S --passes=slp-vectorizer -slp-threshold=-99999 < %s -mtriple=x86_64-unknown-linux-gnu -slp-revec | FileCheck %s
3+
4+
define void @test() {
5+
bb:
6+
br label %bb1
7+
8+
bb1:
9+
%phi = phi i32 [ 0, %bb ], [ %mul9, %bb1 ]
10+
%phi2 = phi i32 [ 0, %bb ], [ 0, %bb1 ]
11+
%trunc = trunc i64 0 to i32
12+
%mul = mul i32 0, %trunc
13+
%mul3 = mul i32 %trunc, %phi
14+
%mul4 = mul i32 %mul3, %mul
15+
%mul5 = mul i32 %mul4, %mul
16+
%trunc6 = trunc i64 0 to i32
17+
%mul7 = mul i32 0, %trunc6
18+
%mul8 = mul i32 %mul5, %mul7
19+
%mul9 = mul i32 %mul8, %mul7
20+
br label %bb1
21+
}

0 commit comments

Comments
 (0)