brintos

brintos / llvm-project-archived public Read only

0
0
Text · 914 B · a969b3e Raw
29 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; CHECK: r{{[0-9]*}} += sfmpy(r{{[0-9]*}},r{{[0-9]*}},p{{[0-3]}}):scale3 4target triple = "hexagon"5 6@g0 = private unnamed_addr constant [65 x i8] c"%f :  Q6_R_sfmpyacc_RRp_scale(FLT_MIN,FLT_MIN,FLT_MIN,CHAR_MIN)\0A\00", align 17 8; Function Attrs: nounwind9declare i32 @f0(ptr, ...) #010 11; Function Attrs: nounwind12define i32 @f1() #0 {13b0:14  %v0 = alloca i32, align 415  %v1 = alloca i32, align 416  store i32 0, ptr %v017  store i32 0, ptr %v1, align 418  %v2 = call float @llvm.hexagon.F2.sffma.sc(float 0x3810000000000000, float 0x3810000000000000, float 0x3810000000000000, i32 0)19  %v3 = fpext float %v2 to double20  %v4 = call i32 (ptr, ...) @f0(ptr @g0, double %v3) #021  ret i32 022}23 24; Function Attrs: readnone25declare float @llvm.hexagon.F2.sffma.sc(float, float, float, i32) #126 27attributes #0 = { nounwind "target-cpu"="hexagonv55" }28attributes #1 = { readnone }29