commit | 3964940ceb1cff4eba076a5792e20fbdbe97920c | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Thu Aug 16 22:46:20 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Thu Aug 16 22:46:20 2018 +0000 |
tree | 2b4b31a83ed64353a38c6526119c220fa7d32519 | |
parent | 41bee7d4780bf808aba3ad86dd0ce2b2d5e40da3 [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339958 91177308-0d34-0410-b5e6-96231b3b80d8