1 ; RUN: opt < %s -instcombine -S | FileCheck %s
3 define double @mypow(double %x) #0 {
5 %pow = call double @llvm.pow.f64(double %x, double 5.000000e-01)
9 ; CHECK-LABEL: define double @mypow(
10 ; CHECK: %sqrt = call double @sqrt(double %x) #1
11 ; CHECK: ret double %sqrt
14 declare double @llvm.pow.f64(double, double)
15 attributes #0 = { "unsafe-fp-math"="true" }