1 ; RUN: llc -march=hexagon < %s | FileCheck %s
3 target datalayout = "e-m:e-p:32:32:32-a:0-n16:32-i64:64:64-i32:32:32-i16:16:16-i1:8:8-f32:32:32-f64:64:64-v32:32:32-v64:64:64-v512:512:512-v1024:1024:1024-v2048:2048:2048"
4 target triple = "hexagon"
8 define float @minimum(float %x, float %y) #0 {
10 %call = tail call float @fminf(float %x, float %y) #1
14 ; CHECK-LABEL: maximum
16 define float @maximum(float %x, float %y) #0 {
18 %call = tail call float @fmaxf(float %x, float %y) #1
22 declare float @fminf(float, float) #0
23 declare float @fmaxf(float, float) #0
25 attributes #0 = { nounwind readnone "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="hexagonv60" "target-features"="+hvx,+hvx-length64b" "unsafe-fp-math"="false" "use-soft-float"="false" }
26 attributes #1 = { nounwind readnone }