diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-08-16 22:46:20 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-08-16 22:46:20 +0000 |
commit | 8ba631d9c8b5f1b4e4e314c1f4b366c58a71b4a5 (patch) | |
tree | 02dee4ae40722150a0e615fa07223949cd10da1a /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 7f9b4af1845b1cb231867c9a03fd848954155b22 (diff) | |
download | llvm-8ba631d9c8b5f1b4e4e314c1f4b366c58a71b4a5.zip llvm-8ba631d9c8b5f1b4e4e314c1f4b366c58a71b4a5.tar.gz llvm-8ba631d9c8b5f1b4e4e314c1f4b366c58a71b4a5.tar.bz2 |
[InstCombine] add reflection fold for tan(-x)
This is a follow-up suggested with rL339604.
For tan(), we don't have a corresponding LLVM
intrinsic -- unlike sin/cos -- so this is the
only way/place that we can do this fold currently.
llvm-svn: 339958
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions