aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Transforms/SLPVectorizer/bbi-106161.ll
blob: 29339c8a8aac8d2bfa437a42afa7161b5e5b3d1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -passes=slp-vectorizer -S %s | FileCheck %s

define i128 @f_768_3162(i16 %0) {
; CHECK-LABEL: @f_768_3162(
; CHECK-NEXT:  entry:
; CHECK-NEXT:    [[SHL22:%.*]] = shl i16 0, -1
; CHECK-NEXT:    [[MUL23:%.*]] = mul i16 0, [[TMP0:%.*]]
; CHECK-NEXT:    [[MUL24:%.*]] = mul i16 [[SHL22]], [[MUL23]]
; CHECK-NEXT:    store i16 [[MUL24]], ptr null, align 1
; CHECK-NEXT:    ret i128 0
;
entry:
  %shl22 = shl i16 0, -1
  %mul23 = mul i16 0, %0
  %mul24 = mul i16 %shl22, %mul23
  store i16 %mul24, ptr null, align 1
  ret i128 0
}