Legalizer was missing code that expand fpow to a libcall.
[oota-llvm.git] / test / CodeGen / ARM / fpow.ll
1 ; RUN: llvm-as < %s | llc -march=arm
2 ; RUN: llvm-as < %s | llc -march=thumb
3
4 define double @t(double %x, double %y) nounwind notes(opt_size) {
5 entry:
6         %0 = tail call double @llvm.pow.f64( double %x, double %y )             ; <double> [#uses=1]
7         ret double %0
8 }
9
10 declare double @llvm.pow.f64(double, double) nounwind readonly