1 ; RUN: opt < %s -instcombine -S | FileCheck %s
3 define double @pow_half(double %x) {
4 %pow = call fast double @llvm.pow.f64(double %x, double 5.000000e-01)
8 ; CHECK-LABEL: define double @pow_half(
9 ; CHECK-NEXT: %sqrt = call fast double @sqrt(double %x)
10 ; CHECK-NEXT: ret double %sqrt
12 declare double @llvm.pow.f64(double, double)