Displaying 3 results from an estimated 3 matches for "9b477474".
2007 Nov 22
0
[LLVMdev] llvm-gcc cannot emit @llvm.pow.* ?
Hi,
> Current llvm-gcc cannot emit llvm intrinsic function like llvm.pow.* and
> llvm.sin.*
> For example:
>
> double foo(double x, double y) {
> return pow(x,y);
> }
>
> will compiled into ll:
>
> define double @foo(double %x, double %y) {
> %tmp3 = tail call double @pow( double %x, double %y )
> ret double %tmp3
> }
>
> This is not
2007 Nov 22
2
[LLVMdev] llvm-gcc cannot emit @llvm.pow.* ?
Hi,
Current llvm-gcc cannot emit llvm intrinsic function like llvm.pow.* and
llvm.sin.*
For example:
double foo(double x, double y) {
return pow(x,y);
}
will compiled into ll:
define double @foo(double %x, double %y) {
%tmp3 = tail call double @pow( double %x, double %y )
ret double %tmp3
}
This is not consistent with llvm language reference.
-------------- next part --------------
An
2007 Nov 22
2
[LLVMdev] llvm-gcc cannot emit @llvm.pow.* ?
...d here you raise to a double power.
I don't understand. why we can't use llvm.pow.f64 for double power?
Sheng.
Ciao,
>
> Duncan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20071122/9b477474/attachment.html>