1 ; RUN: opt -S -instcombine %s | FileCheck %s
3 define float @foo(float %x) nounwind readnone ssp {
9 %conv = fpext float %x to double ; <double> [#uses=1]
10 %call = tail call double @sqrt(double %conv) nounwind ; <double> [#uses=1]
11 %conv1 = fptrunc double %call to float ; <float> [#uses=1]
16 declare double @sqrt(double) readnone