summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/set.ll
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Temporarily Revert "Add basic loop fusion pass.""Eric Christopher2019-04-171-0/+392
| | | | | | | | 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-392/+0
| | | | | | | | As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546
* [NFC][InstCombine] Regenerate set.ll testRoman Lebedev2018-08-051-20/+20
| | | | llvm-svn: 338965
* [InstCombine] Support vector splats in transformZExtICmpCraig Topper2017-08-291-0/+49
| | | | | | | | | | This patch adds splat support to transformZExtICmp. The test cases are vector versions of tests that failed when commenting out parts of the existing scalar code. One test didn't vectorize optimize properly due to another bug so a TODO has been added. Differential Revision: https://reviews.llvm.org/D37253 llvm-svn: 312023
* [InstCombine] fix code/test comments for r305792; NFCSanjay Patel2017-06-201-2/+2
| | | | | | | These diffs were in the last version of the patch in D33342, but I accidentally committed the previous rev. llvm-svn: 305793
* [InstCombine] try to canonicalize xor-of-icmps to and-of-icmpsSanjay Patel2017-06-201-11/+7
| | | | | | | | | | | | | | | | We have a large portfolio of folds for and-of-icmps and or-of-icmps in InstSimplify and InstCombine, but hardly anything for xor-of-icmps. Rather than trying to rethink and translate all of those folds, we can use the truth table definition of xor: X ^ Y --> (X | Y) & !(X & Y) ...to see if we can convert the xor to and/or and then use the existing folds. http://rise4fun.com/Alive/J9v Differential Revision: https://reviews.llvm.org/D33342 llvm-svn: 305792
* [InstCombine] add more tests for xor-of-icmps; NFCSanjay Patel2017-05-181-0/+30
| | | | llvm-svn: 303387
* [InstCombine] move test and use better checks; NFCSanjay Patel2017-05-181-0/+17
| | | | | | Previously, this test was checking for 'or i1', but that was actually matched by 'xor i1'. llvm-svn: 303364
* [InstCombine] add test for xor-of-icmps; NFCSanjay Patel2017-05-171-2/+15
| | | | | | This is another form of the problem discussed in D32143. llvm-svn: 303315
* [InstCombine] handle icmp i1 X, C early to avoid creating an unknown patternSanjay Patel2017-05-171-4/+2
| | | | | | | | | | | The missing optimization for xor-of-icmps still needs to be added, but by being more efficient (not generating unnecessary logic ops with constants) we avoid the bug. See discussion in post-commit comments: https://reviews.llvm.org/D32143 llvm-svn: 303312
* [InstCombine] add test for missing icmp bool fold; NFCSanjay Patel2017-05-171-10/+26
| | | | llvm-svn: 303310
* fix checksSanjay Patel2016-06-051-3/+3
| | | | | | update_test_checks.py got confused matching the variable names. llvm-svn: 271844
* [InstCombine] allow vector icmp bool transformsSanjay Patel2016-06-051-4/+4
| | | | llvm-svn: 271843
* add tests to show missing vector transformsSanjay Patel2016-06-051-0/+20
| | | | llvm-svn: 271842
* update test to use FileCheckSanjay Patel2016-06-051-93/+175
| | | | llvm-svn: 271840
* Change tests from "opt %s" to "opt < %s" so that opt doesn't see theDan Gohman2009-09-111-1/+1
| | | | | | | | input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
* Use opt -S instead of piping bitcode output through llvm-dis.Dan Gohman2009-09-081-1/+1
| | | | llvm-svn: 81257
* Change these tests to feed the assembly files to opt directly, insteadDan Gohman2009-09-081-1/+1
| | | | | | of using llvm-as, now that opt supports this. llvm-svn: 81226
* Remove llvm-upgrade and update tests.Tanya Lattner2008-03-091-0/+1
| | | | llvm-svn: 48103
* Remove llvm-upgrade and update test cases.Tanya Lattner2008-03-011-102/+120
| | | | llvm-svn: 47793
* For PR1319:Reid Spencer2007-04-141-1/+1
| | | | | | Upgrade tests to work with new llvm.exp version of llvm_runtest. llvm-svn: 36013
* new testcaseChris Lattner2007-04-091-0/+5
| | | | llvm-svn: 35851
* Regression is gone, don't try to find it on clean target.Reid Spencer2007-01-171-0/+147
llvm-svn: 33296
OpenPOWER on IntegriCloud