search for: xxx_aco

Displaying 2 results from an estimated 2 matches for "xxx_aco".

Did you mean: xxx_acos
2016 Jun 07
3
llvm intrinsics/libc/libm question
...acos as an intrinsic and instead just calls a function "tail call @acos...", is this still able to be optimized. I see the hardcoded 'name' lookup for 'acos' in ConstantFolding.cpp. It doesn't appear that if you slightly change the name from 'acos' to say 'XXX_acos' in your libm it'll still be optimized? Thanks, Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160607/dc0548f5/attachment.html>
2016 Jun 07
3
llvm intrinsics/libc/libm question
...y, ConstantFolding checks that @acos only > has one operand, but yours has two.) > > > I see the hardcoded > > 'name' lookup for 'acos' in ConstantFolding.cpp. It doesn't appear that > if > > you slightly change the name from 'acos' to say 'XXX_acos' in your libm > > it'll still be optimized? > > Correct, it won't be. > > It's possible to make that happen with a few patches, but there has > been no need for that yet: > > - replace the various calls to TLI::has() or > TLI::getLibFunc(StringRef, Fun...