[PATCH] D28236: InstCombine: Fold cos(-x) -> cos(x)
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 09:57:26 PST 2017
arsenm updated this revision to Diff 83070.
arsenm added a comment.
Also handle fabs.
https://reviews.llvm.org/D28236
Files:
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/amdgcn-intrinsics.ll
test/Transforms/InstCombine/cos-intrinsic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28236.83070.patch
Type: text/x-patch
Size: 4906 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170104/2140dd7b/attachment.bin>
More information about the llvm-commits
mailing list