summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/cos-sin-intrinsic.ll
Commit message (Collapse)AuthorAgeFilesLines
* [NFC][InstCombine] Add unary FNeg to cos-1.ll cos-2.ll cos-sin-intrinsic.llCameron McInally2019-05-311-0/+73
| | | | llvm-svn: 362253
* Revert "Temporarily Revert "Add basic loop fusion pass.""Eric Christopher2019-04-171-0/+122
| | | | | | | | The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
* Temporarily Revert "Add basic loop fusion pass."Eric Christopher2019-04-171-122/+0
| | | | | | | | As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546
* [InstCombine] canonicalize fneg with llvm.sinSanjay Patel2018-08-291-6/+6
| | | | | | | | | | | | | | This is a follow-up to rL339604 which did the same transform for a sin libcall. The handling of intrinsics vs. libcalls is unfortunately scattered, so I'm just adding this next to the existing transform for llvm.cos for now. This should resolve PR38458: https://bugs.llvm.org/show_bug.cgi?id=38458 If the call was already negated, the negates will cancel each other out. llvm-svn: 340952
* [InstCombine] add tests for llvm.sin(-x); NFCSanjay Patel2018-08-291-0/+122
Also add a corresponding test for llvm.cos with FMF to make sure that was handled correctly. llvm-svn: 340950
OpenPOWER on IntegriCloud