brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.0 KiB · 21e4f3d Raw
67 lines · plain
1; RUN: llc -verify-machineinstrs -O0 < %s | FileCheck %s2target triple = "powerpc64le-unknown-linux-gnu"3 4%StructA = type { double, double, double, double, double, double, double, double }5 6define void @Test(ptr %tmp) unnamed_addr #0 align 2 {7; CHECK-LABEL: Test:8; CHECK: lxvd2x9; CHECK-NEXT: xxswapd10; CHECK: lxvd2x11; CHECK-NEXT: xxswapd12; CHECK: lxvd2x13; CHECK-NEXT: xxswapd14; CHECK: lxvd2x15; CHECK-NEXT: xxswapd16; CHECK: xxswapd [[OUTPUT:[0-9]+]]17; CHECK-NEXT: stxvd2x [[OUTPUT]]18bb:19  %tmp5 = getelementptr inbounds %StructA, ptr %tmp, i64 0, i32 220  %tmp9 = getelementptr inbounds %StructA, ptr %tmp, i64 0, i32 421  %tmp11 = getelementptr inbounds %StructA, ptr %tmp, i64 0, i32 522  %tmp13 = getelementptr inbounds %StructA, ptr %tmp, i64 0, i32 623  %tmp15 = getelementptr inbounds %StructA, ptr %tmp, i64 0, i32 724  %tmp18 = load double, ptr %tmp, align 1625  %tmp19 = load double, ptr %tmp11, align 826  %tmp20 = load double, ptr %tmp9, align 1627  %tmp21 = fsub double 1.210000e+04, %tmp2028  %tmp22 = fmul double %tmp18, %tmp2129  %tmp23 = fadd double %tmp20, %tmp2230  %tmp24 = load double, ptr %tmp13, align 1631  %tmp25 = fsub double 1.000000e+02, %tmp2432  %tmp26 = fmul double %tmp18, %tmp2533  %tmp27 = fadd double %tmp24, %tmp2634  %tmp28 = load double, ptr %tmp15, align 835  %tmp29 = insertelement <2 x double> undef, double %tmp19, i32 036  %tmp30 = insertelement <2 x double> %tmp29, double %tmp28, i32 137  %tmp31 = fsub <2 x double> <double 1.100000e+04, double 1.100000e+02>, %tmp3038  %tmp32 = insertelement <2 x double> undef, double %tmp18, i32 039  %tmp33 = insertelement <2 x double> %tmp32, double %tmp18, i32 140  %tmp34 = fmul <2 x double> %tmp33, %tmp3141  %tmp35 = fadd <2 x double> %tmp30, %tmp3442  %tmp37 = load <2 x double>, ptr %tmp5, align 1643  %tmp38 = fsub <2 x double> <double 1.000000e+00, double 1.000000e+04>, %tmp3744  %tmp39 = fmul <2 x double> %tmp33, %tmp3845  %tmp40 = fadd <2 x double> %tmp37, %tmp3946  %tmp41 = fsub <2 x double> <double 1.000000e+00, double 1.000000e+04>, %tmp4047  %tmp42 = fmul <2 x double> %tmp33, %tmp4148  %tmp43 = fadd <2 x double> %tmp40, %tmp4249  %tmp44 = fsub <2 x double> <double 1.200000e+04, double 1.200000e+02>, %tmp3550  %tmp45 = fmul <2 x double> %tmp33, %tmp4451  %tmp46 = fadd <2 x double> %tmp35, %tmp4552  %tmp48 = fsub double 1.440000e+04, %tmp2353  %tmp49 = fmul double %tmp18, %tmp4854  %tmp50 = fadd double %tmp23, %tmp4955  store double %tmp50, ptr %tmp9, align 1656  %tmp51 = fsub double 1.000000e+02, %tmp2757  %tmp52 = fmul double %tmp18, %tmp5158  %tmp53 = fadd double %tmp27, %tmp5259  store double %tmp53, ptr %tmp13, align 1660  %tmp54 = extractelement <2 x double> %tmp46, i32 161  store double %tmp54, ptr %tmp15, align 862  store <2 x double> %tmp43, ptr %tmp5, align 1663  ret void64}65 66attributes #0 = { nounwind "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="pwr8" "target-features"="+altivec,+bpermd,+crypto,+direct-move,+extdiv,+power8-vector,+vsx" "use-soft-float"="false" }67