You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
27
external/llvm/test/CodeGen/Hexagon/fminmax.ll
vendored
Normal file
27
external/llvm/test/CodeGen/Hexagon/fminmax.ll
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
; RUN: llc -march=hexagon < %s | FileCheck %s
|
||||
|
||||
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"
|
||||
target triple = "hexagon"
|
||||
|
||||
; CHECK-LABEL: minimum
|
||||
; CHECK: sfmin
|
||||
define float @minimum(float %x, float %y) #0 {
|
||||
entry:
|
||||
%call = tail call float @fminf(float %x, float %y) #1
|
||||
ret float %call
|
||||
}
|
||||
|
||||
; CHECK-LABEL: maximum
|
||||
; CHECK: sfmax
|
||||
define float @maximum(float %x, float %y) #0 {
|
||||
entry:
|
||||
%call = tail call float @fmaxf(float %x, float %y) #1
|
||||
ret float %call
|
||||
}
|
||||
|
||||
declare float @fminf(float, float) #0
|
||||
declare float @fmaxf(float, float) #0
|
||||
|
||||
attributes #0 = { nounwind readnone "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "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" }
|
||||
attributes #1 = { nounwind readnone }
|
||||
|
Reference in New Issue
Block a user