1 ; RUN: llc -march=hexagon < %s | FileCheck %s
3 ; CHECK-LABEL: df_min_olt:
5 define double @df_min_olt(double %x, double %y) #0 {
6 %t = fcmp olt double %x, %y
7 %u = select i1 %t, double %x, double %y
11 ; CHECK-LABEL: df_min_ole:
13 define double @df_min_ole(double %x, double %y) #0 {
14 %t = fcmp ole double %x, %y
15 %u = select i1 %t, double %x, double %y
19 ; CHECK-LABEL: df_max_ogt:
21 define double @df_max_ogt(double %x, double %y) #0 {
22 %t = fcmp ogt double %x, %y
23 %u = select i1 %t, double %x, double %y
27 ; CHECK-LABEL: df_max_oge:
29 define double @df_max_oge(double %x, double %y) #0 {
30 %t = fcmp oge double %x, %y
31 %u = select i1 %t, double %x, double %y
35 ; CHECK-LABEL: df_max_olt:
37 define double @df_max_olt(double %x, double %y) #0 {
38 %t = fcmp olt double %x, %y
39 %u = select i1 %t, double %y, double %x
43 ; CHECK-LABEL: df_max_ole:
45 define double @df_max_ole(double %x, double %y) #0 {
46 %t = fcmp ole double %x, %y
47 %u = select i1 %t, double %y, double %x
51 ; CHECK-LABEL: df_min_ogt:
53 define double @df_min_ogt(double %x, double %y) #0 {
54 %t = fcmp ogt double %x, %y
55 %u = select i1 %t, double %y, double %x
59 ; CHECK-LABEL: df_min_oge:
61 define double @df_min_oge(double %x, double %y) #0 {
62 %t = fcmp oge double %x, %y
63 %u = select i1 %t, double %y, double %x
67 attributes #0 = { nounwind "target-cpu"="hexagonv67" }