1; RUN: llc -mtriple=hexagon-unknown-elf -mcpu=hexagonv67 < %s | FileCheck %s 2 3 4; CHECK-LABEL: t1 5; CHECK: dfmax 6 7define dso_local double @t1(double %a, double %b) local_unnamed_addr { 8entry: 9 %0 = tail call double @llvm.maxnum.f64(double %a, double %b) 10 ret double %0 11} 12 13; CHECK-LABEL: t2 14; CHECK: dfmin 15 16define dso_local double @t2(double %a, double %b) local_unnamed_addr { 17entry: 18 %0 = tail call double @llvm.minnum.f64(double %a, double %b) 19 ret double %0 20} 21 22; CHECK-LABEL: t3 23; CHECK: sfmax 24 25define dso_local float @t3(float %a, float %b) local_unnamed_addr { 26entry: 27 %0 = tail call float @llvm.maxnum.f32(float %a, float %b) 28 ret float %0 29} 30 31; CHECK-LABEL: t4 32; CHECK: sfmin 33 34define dso_local float @t4(float %a, float %b) local_unnamed_addr { 35entry: 36 %0 = tail call float @llvm.minnum.f32(float %a, float %b) 37 ret float %0 38} 39 40declare double @llvm.minnum.f64(double, double) #1 41declare double @llvm.maxnum.f64(double, double) #1 42declare float @llvm.maxnum.f32(float, float) #1 43declare float @llvm.minnum.f32(float, float) #1 44 45attributes #1 = { nounwind readnone speculatable } 46