1 ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s 2 ; CHECK-NOT: {{(min|max|mov)}} 3 ; CHECK: mov 4 ; CHECK-NOT: {{(min|max|mov)}} 5 ; CHECK: min 6 ; CHECK-NOT: {{(min|max|mov)}} 7 ; CHECK: mov 8 ; CHECK-NOT: {{(min|max|mov)}} 9 ; CHECK: max 10 ; CHECK-NOT: {{(min|max|mov)}} 11 12 declare float @bar() 13 14 define float @foo(float %a) nounwind 15 { 16 %s = call float @bar() 17 %t = fcmp olt float %s, %a 18 %u = select i1 %t, float %s, float %a 19 ret float %u 20 } 21 define float @hem(float %a) nounwind 22 { 23 %s = call float @bar() 24 %t = fcmp ogt float %s, %a 25 %u = select i1 %t, float %s, float %a 26 ret float %u 27 } 28