1; Test that the pow won't get simplified to sqrt(fabs) when they are not available. 2; 3; RUN: opt < %s -disable-simplify-libcalls -instcombine -S | FileCheck %s 4 5declare double @llvm.pow.f64(double %Val, double %Power) 6 7define double @test_simplify_unavailable(double %x) { 8; CHECK-LABEL: @test_simplify_unavailable( 9 %retval = call double @llvm.pow.f64(double %x, double 0.5) 10; CHECK-NEXT: call double @llvm.pow.f64(double %x, double 5.000000e-01) 11 ret double %retval 12} 13