• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mcpu=i686 2>&1 | FileCheck %s
2; PR26625
3
4target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
5target triple = "i386"
6
7define float @x0(float %f) #0 {
8entry:
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
17declare float @sqrtf(float) #0
18
19attributes #0 = { nounwind optsize readnone }
20attributes #1 = { nounwind optsize readnone }
21