1; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s 2; CHECK: __hexagon_adddf3 3; CHECK: __hexagon_subdf3 4 5define void @foo(double* %acc, double %num, double %num2) nounwind { 6entry: 7 %acc.addr = alloca double*, align 4 8 %num.addr = alloca double, align 8 9 %num2.addr = alloca double, align 8 10 store double* %acc, double** %acc.addr, align 4 11 store double %num, double* %num.addr, align 8 12 store double %num2, double* %num2.addr, align 8 13 %0 = load double*, double** %acc.addr, align 4 14 %1 = load double, double* %0 15 %2 = load double, double* %num.addr, align 8 16 %add = fadd double %1, %2 17 %3 = load double, double* %num2.addr, align 8 18 %sub = fsub double %add, %3 19 %4 = load double*, double** %acc.addr, align 4 20 store double %sub, double* %4 21 ret void 22} 23