summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll
Commit message (Collapse)AuthorAgeFilesLines
* [InstCombine] narrow icmp with extended operands of different widthsSanjay Patel2019-08-211-37/+30
| | | | | | | | | | | An intermediate extend is used to widen the narrow operand to the width of the other (wider) operand. At that point, we have the same logic as the existing transform that was restricted to folds of equal width zext/sext. This mostly solves PR42700: https://bugs.llvm.org/show_bug.cgi?id=42700 llvm-svn: 369519
* [InstCombine] add more extra use tests for icmp with extends; NFCSanjay Patel2019-08-201-2/+34
| | | | llvm-svn: 369447
* [InstCombine] add tests for mismatched cast ops for icmp; NFCSanjay Patel2019-08-201-18/+190
| | | | | | | Motivating case is shown in PR42700: https://bugs.llvm.org/show_bug.cgi?id=42700 llvm-svn: 369439
* Revert "Temporarily Revert "Add basic loop fusion pass.""Eric Christopher2019-04-171-0/+269
| | | | | | | | 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-269/+0
| | | | | | | | As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546
* [InstCombine] limit icmp transform to ConstantInt (PR28011)Sanjay Patel2016-06-061-0/+28
| | | | | | | | | | | | | | | In r271810 ( http://reviews.llvm.org/rL271810 ), I loosened the check above this to work for any Constant rather than ConstantInt. AFAICT, that part makes sense if we can determine that the shrunken/extended constant remained equal. But it doesn't make sense for this later transform where we assume that the constant DID change. This could assert for a ConstantExpr: https://llvm.org/bugs/show_bug.cgi?id=28011 And it could be wrong for a vector as shown in the added regression test. llvm-svn: 271908
* regenerate checksSanjay Patel2016-06-061-110/+159
| | | | llvm-svn: 271904
* Allow instcombine to combine "sext(a) >u const" to "a >u trunc(const)".Eli Friedman2009-12-171-0/+32
| | | | llvm-svn: 91631
* Convert InstCombine tests from notcast to FileCheck.Edward O'Callaghan2009-10-121-2/+30
| | | | llvm-svn: 83825
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-091-1/+1
| | | | llvm-svn: 81293
* Use opt -S instead of piping bitcode output through llvm-dis.Dan Gohman2009-09-081-1/+1
| | | | llvm-svn: 81257
* Eliminate questionable syntax for stdin redirection. This probably also ↵Gabor Greif2008-05-201-1/+1
| | | | | | speeds things up a bit. llvm-svn: 51357
* Remove llvm-upgrade and update tests.Tanya Lattner2008-03-091-1/+1
| | | | llvm-svn: 48103
* Remove llvm-upgrade and update test cases.Tanya Lattner2008-03-011-89/+85
| | | | llvm-svn: 47793
* For PR1319:Reid Spencer2007-04-151-0/+1
| | | | | | | Make use of the END. facility on all files > 1K so that we aren't wasting CPU cycles searching for RUN: lines that we'll never find. llvm-svn: 36059
* For PR1319:Reid Spencer2007-04-141-1/+2
| | | | | | Upgrade tests to work with new llvm.exp version of llvm_runtest. llvm-svn: 36013
* Regression is gone, don't try to find it on clean target.Reid Spencer2007-01-171-0/+134
llvm-svn: 33296
OpenPOWER on IntegriCloud