brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.6 KiB · 386d65c Raw
63 lines · plain
1; RUN: llc -mcpu=pwr8 -mtriple=powerpc64le-unknown-linux-gnu < %s -verify-machineinstrs | FileCheck %s2; RUN: llc -mcpu=pwr9 -mtriple=powerpc64le-unknown-linux-gnu < %s -verify-machineinstrs | FileCheck \3; RUN:   --check-prefix=CHECK-P9 %s4 5; Verify correct generation of an lxsspx rather than an invalid optimization6; to lxvdsx.  Bugpoint-reduced test from Eric Schweitz.7 8%struct.BSS38.51.4488.9911.14348.16813.20264.24701.28152.31603.35054.39491.44914.45407.46393.46886.47872.49351.49844.50830.51323.52309.53295.53788.54281.55267.55760.59211.61625 = type <{ [28 x i8] }>9%struct_main1_2_.491.4928.10351.14788.17253.20704.25141.28592.32043.35494.39931.45354.45847.46833.47326.48312.49791.50284.51270.51763.52749.53735.54228.54721.55707.56200.59651.61626 = type <{ [64 x i8] }>10 11@.BSS38 = external global %struct.BSS38.51.4488.9911.14348.16813.20264.24701.28152.31603.35054.39491.44914.45407.46393.46886.47872.49351.49844.50830.51323.52309.53295.53788.54281.55267.55760.59211.61625, align 3212@_main1_2_ = external global %struct_main1_2_.491.4928.10351.14788.17253.20704.25141.28592.32043.35494.39931.45354.45847.46833.47326.48312.49791.50284.51270.51763.52749.53735.54228.54721.55707.56200.59651.61626, section ".comm", align 1613 14define void @aercalc_() {15L.entry:16  br i1 undef, label %L.LB38_2426, label %L.LB38_291117 18L.LB38_2911:19  br i1 undef, label %L.LB38_2140, label %L.LB38_264020 21L.LB38_2640:22  unreachable23 24L.LB38_2426:25  br i1 undef, label %L.LB38_2438, label %L.LB38_292026 27L.LB38_2920:28  br i1 undef, label %L.LB38_2438, label %L.LB38_292129 30L.LB38_2921:31  br label %L.LB38_214032 33L.LB38_2140:34  ret void35 36L.LB38_2438:37  br i1 undef, label %L.LB38_2451, label %L.LB38_293538 39L.LB38_2935:40  br i1 undef, label %L.LB38_2451, label %L.LB38_293641 42L.LB38_2936:43  unreachable44 45L.LB38_2451:46  br i1 undef, label %L.LB38_2452, label %L.LB38_293747 48L.LB38_2937:49  unreachable50 51L.LB38_2452:52  %0 = load float, ptr getelementptr inbounds (%struct.BSS38.51.4488.9911.14348.16813.20264.24701.28152.31603.35054.39491.44914.45407.46393.46886.47872.49351.49844.50830.51323.52309.53295.53788.54281.55267.55760.59211.61625, ptr @.BSS38, i64 0, i32 0, i64 16), align 1653  %1 = fpext float %0 to double54  %2 = insertelement <2 x double> undef, double %1, i32 155  store <2 x double> %2, ptr getelementptr inbounds (%struct_main1_2_.491.4928.10351.14788.17253.20704.25141.28592.32043.35494.39931.45354.45847.46833.47326.48312.49791.50284.51270.51763.52749.53735.54228.54721.55707.56200.59651.61626, ptr @_main1_2_, i64 0, i32 0, i64 32), align 1656  unreachable57}58 59; CHECK-LABEL: @aercalc_60; CHECK: lfs61; CHECK-P9-LABEL: @aercalc_62; CHECK-P9: lfs63