summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/shift-simplify.ll
Commit message (Collapse)AuthorAgeFilesLines
* merge and filecheckize testChris Lattner2010-08-271-42/+0
| | | | llvm-svn: 112289
* Use "opt < %s" instead of "opt %s" to keep the testname away from the grep.Dan Gohman2009-09-091-1/+1
| | | | llvm-svn: 81299
* 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
* Convert tests using "| wc -l | grep ..." to use the count script.Dan Gohman2007-08-151-1/+1
| | | | llvm-svn: 41097
* Implement shift-simplify.ll:test[45].Chris Lattner2007-07-151-0/+12
| | | | | | | | | | | First teach instcombine that sign bit checks only demand the sign bit, this allows simplify demanded bits to hack on expressions better. Second, teach instcombine that ashr is useless if only the sign bit is demanded. llvm-svn: 39880
* Implement shift-simplify.ll:test3, turning:Chris Lattner2007-07-151-0/+7
| | | | | | | | (X << 31) <s 0 --> (X&1) != 0 This happens dozens of times in the CFE. llvm-svn: 39879
* For PR1319:Reid Spencer2007-04-141-1/+1
| | | | | | Upgrade tests to work with new llvm.exp version of llvm_runtest. llvm-svn: 36013
* Changes to support making the shift instructions be true BinaryOperators.Reid Spencer2007-02-021-16/+17
| | | | | | | | | | | | This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax for llvm assembly to make shl, ashr and lshr instructions look like a binary operator: shl i32 %X, 1 instead of shl i32 %X, i8 1 Additionally, this should help a few passes perform additional optimizations. llvm-svn: 33776
* Regression is gone, don't try to find it on clean target.Reid Spencer2007-01-171-0/+22
llvm-svn: 33296
OpenPOWER on IntegriCloud