Home | History | Annotate | Download | only in InstCombine
      1 ; RUN: opt < %s -instcombine -S | FileCheck %s
      2 
      3 define double @pow_half(double %x) {
      4   %pow = call fast double @llvm.pow.f64(double %x, double 5.000000e-01)
      5   ret double %pow
      6 }
      7 
      8 ; CHECK-LABEL: define double @pow_half(
      9 ; CHECK-NEXT:  %sqrt = call fast double @sqrt(double %x)
     10 ; CHECK-NEXT:  ret double %sqrt
     11 
     12 declare double @llvm.pow.f64(double, double)
     13 
     14