summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/onehot_merge.ll
Commit message (Collapse)AuthorAgeFilesLines
* [InstCombine][NFCI] Add more test coverage to onehot_merge.llHuihui Zhang2019-07-111-0/+161
| | | | | | Prep work for upcoming patch D64275. llvm-svn: 365828
* [InstCombine][NFCI] Add test coverage to onehot_merge.llHuihui Zhang2019-07-111-0/+145
| | | | | | Prep work for upcoming patch D64275. llvm-svn: 365729
* [NFC][InstCombine] onehot_merge.ll: add last few tests in the state they ↵Roman Lebedev2019-07-031-0/+39
| | | | | | regress to in D62818 llvm-svn: 365056
* [InstCombine][NFCI] Update test cases in onehot_merge.llHuihui Zhang2019-07-011-8/+46
| | | | | | | | | | | | | | | | Use both one bit and signbit shifting to check for one bit merge. Reviewers: lebedev.ri, spatel, efriedma, craig.topper Reviewed By: lebedev.ri Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63903 llvm-svn: 364857
* [InstCombine] remove 'tmp' names and regenerate checks; NFCSanjay Patel2019-06-271-63/+64
| | | | llvm-svn: 364546
* Revert "Temporarily Revert "Add basic loop fusion pass.""Eric Christopher2019-04-171-0/+111
| | | | | | | | 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-111/+0
| | | | | | | | As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546
* [InstCombine] Fold (!iszero(A & K1) & !iszero(A & K2)) -> (A & (K1 | K2)) ↵Craig Topper2017-06-161-12/+8
| | | | | | | | | | | | | | | | == (K1 | K2) if K1 and K2 are a 1-bit mask Summary: This is the demorganed version of the case we already handle for the OR of iszero. Reviewers: spatel Reviewed By: spatel Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D34244 llvm-svn: 305548
* [InstCombine] Pre-commit test cases for the transform proposed in D34244.Craig Topper2017-06-151-0/+58
| | | | llvm-svn: 305492
* [InstCombine] Handle (iszero(A & K1) | iszero(A & K2)) -> (A & (K1 | K2)) != ↵Craig Topper2017-06-151-9/+4
| | | | | | | | | | | | (K1 | K2) when the one of the Ands is commuted relative to the other Currently we expect A to be on the same side in both Ands but nothing guarantees that. While there also switch to using matchers for some of the code. Differential Revision: https://reviews.llvm.org/D34230 llvm-svn: 305487
* [InstCombine] Add a test case to show a case where don't handle a partially ↵Craig Topper2017-06-151-0/+27
| | | | | | commuted IR. NFC llvm-svn: 305438
* InstCombine: Replace a hand-rolled version of isKnownToBeAPowerOfTwo with ↵Benjamin Kramer2014-01-191-2/+2
| | | | | | the real thing. llvm-svn: 199604
* Fold (iszero(A&K1) | iszero(A&K2)) -> (A&(K1|K2)) != (K1|K2) if we know ↵Nadav Rotem2013-11-121-0/+35
that K1 and K2 are 'one-hot' (only one bit is on). llvm-svn: 194525
OpenPOWER on IntegriCloud