38 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 32; RUN: opt -S --passes=slp-vectorizer -mtriple=x86_64-pc-windows-msvc19.34.0 < %s | FileCheck %s3 4define void @test() {5; CHECK-LABEL: define void @test() {6; CHECK-NEXT: entry:7; CHECK-NEXT: [[TMP0:%.*]] = insertelement <2 x i1> poison, i1 false, i32 08; CHECK-NEXT: [[TMP1:%.*]] = load <2 x i64>, ptr getelementptr inbounds ([17 x i64], ptr null, i64 0, i64 9), align 89; CHECK-NEXT: [[TMP2:%.*]] = insertelement <2 x i1> [[TMP0]], i1 false, i32 110; CHECK-NEXT: [[TMP3:%.*]] = zext <2 x i1> [[TMP2]] to <2 x i64>11; CHECK-NEXT: [[TMP4:%.*]] = or <2 x i64> [[TMP1]], [[TMP3]]12; CHECK-NEXT: store <2 x i64> [[TMP4]], ptr getelementptr inbounds ([17 x i64], ptr null, i64 0, i64 9), align 813; CHECK-NEXT: ret void14;15entry:16 %cmp.i.i = fcmp olt float 0.000000e+00, 0.000000e+0017 %0 = zext i1 %cmp.i.i to i6418 %pgocount88 = load i64, ptr getelementptr inbounds ([17 x i64], ptr null, i64 0, i64 9), align 819 %1 = or i64 %pgocount88, %020 store i64 %1, ptr getelementptr inbounds ([17 x i64], ptr null, i64 0, i64 9), align 821 %cond.i.i = select i1 %cmp.i.i, float 0.000000e+00, float 0.000000e+0022 %cmp1.i.i = fcmp ogt float %cond.i.i, 0.000000e+0023 %2 = zext i1 %cmp1.i.i to i6424 %pgocount89 = load i64, ptr getelementptr inbounds ([17 x i64], ptr null, i64 0, i64 10), align 825 %3 = or i64 %pgocount89, %226 store i64 %3, ptr getelementptr inbounds ([17 x i64], ptr null, i64 0, i64 10), align 827 %cmp.i9.i = fcmp olt float 0.000000e+00, 0.000000e+0028 %cond.i10.i = select i1 %cmp.i9.i, float 0.000000e+00, float 0.000000e+0029 %cmp1.i11.i = fcmp ogt float %cond.i10.i, 0.000000e+0030 %cmp.i14.i = fcmp olt float 0.000000e+00, 0.000000e+0031 %cond.i15.i = select i1 %cmp.i14.i, float 0.000000e+00, float 0.000000e+0032 %cmp1.i16.i = fcmp ogt float %cond.i15.i, 0.000000e+0033 %cmp.i19.i = fcmp olt float 0.000000e+00, 0.000000e+0034 %cond.i20.i = select i1 %cmp.i19.i, float 0.000000e+00, float 0.000000e+0035 %cmp1.i21.i = fcmp ogt float %cond.i20.i, 0.000000e+0036 ret void37}38