summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/max_known_bits.ll
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Temporarily Revert "Add basic loop fusion pass.""Eric Christopher2019-04-171-0/+95
| | | | | | | | 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-95/+0
| | | | | | | | As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546
* [InstCombine] remove stall comment from test file; NFCSanjay Patel2018-09-141-2/+0
| | | | llvm-svn: 342250
* [ValueTracking] Teach computeNumSignBits to understand min/max clamp ↵Craig Topper2018-08-221-0/+78
| | | | | | | | | | patterns with constant/splat values If we have a min/max pair we can do a better job of counting sign bits if we look at them together. This is similar to what is done in the SelectionDAG version of computeNumSignBits for ISD::SMAX/SMIN. Differential Revision: https://reviews.llvm.org/D51112 llvm-svn: 340480
* Revert "[InstCombine] Delay foldICmpUsingKnownBits until simple transforms ↵Max Kazantsev2018-07-061-3/+1
| | | | | | are done" llvm-svn: 336410
* [InstCombine] allow narrowing of min/max/absSanjay Patel2018-07-041-6/+3
| | | | | | | | | | | | | | | We have bailout hacks based on min/max in various places in instcombine that shouldn't be necessary. The affected test was added for: D48930 ...which is a consequence of the improvement in: D48584 (https://reviews.llvm.org/rL336172) I'm assuming the visitTrunc bailout in this patch was added specifically to avoid a change from SimplifyDemandedBits, so I'm just moving that below the EvaluateInDifferentType optimization. A narrow min/max is still a min/max. llvm-svn: 336293
* [InstCombine] add value names to test; NFCSanjay Patel2018-07-041-17/+17
| | | | | | That makes it easier to mix and match lines into other tests. llvm-svn: 336289
* [NFC] Add test that shows that InstCombine can do betterMax Kazantsev2018-07-041-0/+24
llvm-svn: 336258
OpenPOWER on IntegriCloud