brintos

brintos / llvm-project-archived public Read only

0
0
Text · 586 B · c635be7 Raw
19 lines · plain
1; RUN: llc -mtriple=hexagon -mcpu=hexagonv5 < %s | FileCheck %s2; Check that we generate sp floating point subtract in V5.3 4; CHECK: r{{[0-9]+}} = sfsub(r{{[0-9]+}},r{{[0-9]+}})5 6define i32 @main() nounwind {7entry:8  %a = alloca float, align 49  %b = alloca float, align 410  %c = alloca float, align 411  store volatile float 0x402ECCCCC0000000, ptr %a, align 412  store volatile float 0x4022333340000000, ptr %b, align 413  %0 = load volatile float, ptr %b, align 414  %1 = load volatile float, ptr %a, align 415  %sub = fsub float %0, %116  store float %sub, ptr %c, align 417  ret i32 018}19