[llvm-commits] [PATCH] SimplifyLibCalls.cpp: Small cosine optimization

Alexander Malyshev lostphifunction at gmail.com
Mon Dec 26 21:04:36 PST 2011


Adds the pattern for cos(-x) -> cos(x). Test file included.

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111227/1ce83b12/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cos.diff
Type: text/x-patch
Size: 3651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111227/1ce83b12/attachment.bin>


More information about the llvm-commits mailing list