1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt -S -passes=slp-vectorizer < %s | FileCheck %s
4 define void @PR58863() {
5 ; CHECK-LABEL: @PR58863(
7 ; CHECK-NEXT: [[MUL_I:%.*]] = fmul float poison, poison
8 ; CHECK-NEXT: [[MUL11_I:%.*]] = fmul float poison, poison
9 ; CHECK-NEXT: [[I:%.*]] = insertelement <3 x float> <float poison, float 0.000000e+00, float poison>, float [[MUL_I]], i64 0
10 ; CHECK-NEXT: [[I1:%.*]] = insertelement <3 x float> [[I]], float [[MUL11_I]], i64 2
11 ; CHECK-NEXT: ret void
14 %mul.i = fmul float poison, poison
15 %mul11.i = fmul float poison, poison
16 %i = insertelement <3 x float> <float poison, float 0.000000e+00, float poison>, float %mul.i, i64 0
17 %i1 = insertelement <3 x float> %i, float %mul11.i, i64 2