Skip to content

Commit aa7efa5

Browse files
committed
[SLP] Pre-commit test.
1 parent 637f352 commit aa7efa5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2+
; RUN: opt -passes=slp-vectorizer -S %s | FileCheck %s
3+
4+
define i128 @f_768_3162(i16 %0) {
5+
; CHECK-LABEL: @f_768_3162(
6+
; CHECK-NEXT: entry:
7+
; CHECK-NEXT: [[SHL22:%.*]] = shl i16 0, -1
8+
; CHECK-NEXT: [[MUL23:%.*]] = mul i16 0, [[TMP0:%.*]]
9+
; CHECK-NEXT: [[MUL24:%.*]] = mul i16 [[SHL22]], [[MUL23]]
10+
; CHECK-NEXT: store i16 [[MUL24]], ptr null, align 1
11+
; CHECK-NEXT: ret i128 0
12+
;
13+
entry:
14+
%shl22 = shl i16 0, -1
15+
%mul23 = mul i16 0, %0
16+
%mul24 = mul i16 %shl22, %mul23
17+
store i16 %mul24, ptr null, align 1
18+
ret i128 0
19+
}

0 commit comments

Comments
 (0)