brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.6 KiB · 05511f8 Raw
47 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py2; RUN: opt < %s -passes=verify,slp-vectorizer -o - -S -mtriple=x86_64-apple-macosx10.13.0 | FileCheck %s3 4@global = local_unnamed_addr global [6 x double] zeroinitializer, align 165 6define { i64, i64 } @patatino(double %arg) {7; CHECK-LABEL: @patatino(8; CHECK-NEXT:  bb:9; CHECK-NEXT:    [[TMP0:%.*]] = load <2 x double>, ptr @global, align 1610; CHECK-NEXT:    [[TMP1:%.*]] = load <2 x double>, ptr getelementptr inbounds ([6 x double], ptr @global, i64 0, i64 2), align 1611; CHECK-NEXT:    [[TMP2:%.*]] = insertelement <2 x double> poison, double [[ARG:%.*]], i32 012; CHECK-NEXT:    [[TMP3:%.*]] = shufflevector <2 x double> [[TMP2]], <2 x double> poison, <2 x i32> zeroinitializer13; CHECK-NEXT:    [[TMP4:%.*]] = fmul <2 x double> [[TMP1]], [[TMP3]]14; CHECK-NEXT:    [[TMP5:%.*]] = fadd <2 x double> [[TMP0]], [[TMP4]]15; CHECK-NEXT:    [[TMP6:%.*]] = load <2 x double>, ptr getelementptr inbounds ([6 x double], ptr @global, i64 0, i64 4), align 1616; CHECK-NEXT:    [[TMP7:%.*]] = fadd <2 x double> [[TMP6]], [[TMP5]]17; CHECK-NEXT:    [[TMP8:%.*]] = fptosi <2 x double> [[TMP7]] to <2 x i32>18; CHECK-NEXT:    [[TMP9:%.*]] = extractelement <2 x i32> [[TMP8]], i32 019; CHECK-NEXT:    [[TMP10:%.*]] = sext i32 [[TMP9]] to i6420; CHECK-NEXT:    [[T16:%.*]] = insertvalue { i64, i64 } undef, i64 [[TMP10]], 021; CHECK-NEXT:    [[TMP11:%.*]] = extractelement <2 x i32> [[TMP8]], i32 122; CHECK-NEXT:    [[TMP12:%.*]] = sext i32 [[TMP11]] to i6423; CHECK-NEXT:    [[T17:%.*]] = insertvalue { i64, i64 } [[T16]], i64 [[TMP12]], 124; CHECK-NEXT:    ret { i64, i64 } [[T17]]25;26bb:27  %t = load double, ptr @global, align 1628  %t1 = load double, ptr getelementptr inbounds ([6 x double], ptr @global, i64 0, i64 2), align 1629  %t2 = fmul double %t1, %arg30  %t3 = fadd double %t, %t231  %t4 = load double, ptr getelementptr inbounds ([6 x double], ptr @global, i64 0, i64 4), align 1632  %t5 = fadd double %t4, %t333  %t6 = fptosi double %t5 to i3234  %t7 = sext i32 %t6 to i6435  %t8 = load double, ptr getelementptr inbounds ([6 x double], ptr @global, i64 0, i64 1), align 836  %t9 = load double, ptr getelementptr inbounds ([6 x double], ptr @global, i64 0, i64 3), align 837  %t10 = fmul double %t9, %arg38  %t11 = fadd double %t8, %t1039  %t12 = load double, ptr getelementptr inbounds ([6 x double], ptr @global, i64 0, i64 5), align 840  %t13 = fadd double %t12, %t1141  %t14 = fptosi double %t13 to i3242  %t15 = sext i32 %t14 to i6443  %t16 = insertvalue { i64, i64 } undef, i64 %t7, 044  %t17 = insertvalue { i64, i64 } %t16, i64 %t15, 145  ret { i64, i64 } %t1746}47