Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [InstSimplify] consolidate tests for log-exp inverse folds | Sanjay Patel | 2018-02-12 | 1 | -71/+0 |
| | | | | | | | | | | | Some tests didn't add much value because we already show stronger constraints for the folds in other tests, so the weaker versions were deleted. Moved the remaining tests into 1 file because the folds are very similar and handled from 1 place in the code. llvm-svn: 324961 | ||||
* | [InstSimplify] Missed optimization in math expression: squashing exp(log), ↵ | Dmitry Venikov | 2018-01-03 | 1 | -0/+71 |
log(exp) Summary: This patch enables folding following expressions under -ffast-math flag: exp(log(x)) -> x, exp2(log2(x)) -> x, log(exp(x)) -> x, log2(exp2(x)) -> x Reviewers: spatel, hfinkel, davide Reviewed By: spatel, hfinkel, davide Subscribers: scanon, llvm-commits Differential Revision: https://reviews.llvm.org/D41381 llvm-svn: 321710 |