Merging r261360:
[oota-llvm.git] / test / CodeGen / X86 / pr26625.ll
1 ; RUN: llc < %s -mcpu=i686 2>&1 | FileCheck %s
2 ; PR26625
3
4 target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
5 target triple = "i386"
6
7 define float @x0(float %f) #0 {
8 entry:
9   %call = tail call float @sqrtf(float %f) #1
10   ret float %call
11 ; CHECK-LABEL: x0:
12 ; CHECK: flds
13 ; CHECK-NEXT: fsqrt
14 ; CHECK-NOT: vsqrtss
15 }
16
17 declare float @sqrtf(float) #0
18
19 attributes #0 = { nounwind optsize readnone }
20 attributes #1 = { nounwind optsize readnone }