summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Commit message (Expand)AuthorAgeFilesLines
* Handle comparisons of gep instructions that have different typed indicesChris Lattner2005-01-211-5/+9
* Add two optimizations. The first folds (X+Y)-X -> YChris Lattner2005-01-191-2/+89
* Delete PHI nodes that are not dead but are locked in a cycle of singleChris Lattner2005-01-171-0/+26
* Move code out of indentation one level to make it easier to read.Chris Lattner2005-01-171-60/+64
* Fix some bugs in an xform added yesterday. This fixes Prolangs-C/allroots.Chris Lattner2005-01-141-2/+2
* Fix a compile crash on spiffChris Lattner2005-01-141-7/+4
* if two gep comparisons only differ by one index, compare that index directly.Chris Lattner2005-01-141-0/+28
* Do not overrun iterators. This fixes a 176.gcc crashChris Lattner2005-01-131-2/+1
* Turn select C, (X+Y), (X-Y) --> (X+(select C, Y, (-Y))). This occurs inChris Lattner2005-01-131-0/+53
* Implement an optimization for == and != comparisons like this:Chris Lattner2005-01-131-1/+63
* Fix some bugs in code I didn't mean to check in.Chris Lattner2005-01-131-5/+12
* Fix a crash compiling 129.compressChris Lattner2005-01-131-6/+109
* Fix uint64_t -> unsigned VS warnings.Chris Lattner2005-01-081-10/+11
* This is a bulk commit that implements the following primary improvements:Chris Lattner2005-01-011-78/+268
* Constant exprs are not efficiently negatable in practice. This disablesChris Lattner2004-12-141-4/+3
* Optimize div/rem + select combinations more.Chris Lattner2004-12-121-24/+89
* note to self: Do not check in debugging code!Chris Lattner2004-12-091-1/+0
* Implement trivial sinking for load instructions. This causes us to sink 567 ...Chris Lattner2004-12-091-1/+11
* Do extremely simple sinking of instructions when they are only used in aChris Lattner2004-12-081-1/+52
* Fix this regression and remove the XFAIL from this test.Alkis Evlogimenos2004-12-081-3/+5
* Fix Transforms/InstCombine/2004-12-08-RemInfiniteLoop.llChris Lattner2004-12-081-1/+2
* Fix for PR454:Reid Spencer2004-11-281-41/+80
* Implement Regression/Transforms/InstCombine/getelementptr_cast.ll, whichChris Lattner2004-11-271-0/+15
* Delete stoppoints that occur for the same source line.Chris Lattner2004-11-181-1/+11
* Quiet warnings on the persephone testerChris Lattner2004-11-151-2/+2
* This optimization makes MANY phi nodes that all have the same incoming value.Chris Lattner2004-11-141-7/+23
* Implement instcombine/phi.ll:test6 - pulling operations through PHI nodes.Chris Lattner2004-11-141-6/+85
* Transform this:Chris Lattner2004-11-141-4/+6
* Simplify handling of shifts to be the same as we do for adds. Add supportChris Lattner2004-11-131-45/+40
* Fold:Chris Lattner2004-11-131-0/+13
* Fix some warnings on VC++Chris Lattner2004-11-051-3/+1
* * Rearrange code slightlyChris Lattner2004-11-021-11/+20
* Hrm, this code was severely botched. As it turns out, this patch:Chris Lattner2004-10-271-0/+4
* Fix a bug Nate noticed, where we miscompiled a simple testcaseChris Lattner2004-10-221-1/+1
* Turn things with obviously undefined semantics into 'store -> null'Chris Lattner2004-10-181-26/+34
* My friend the invoke instruction does not dominate all basic blocks if itChris Lattner2004-10-181-1/+2
* Remove printout, realize that instructions in the entry block dominate allChris Lattner2004-10-171-6/+6
* hasConstantValue will soon return instructions that don't dominate the PHI node,Chris Lattner2004-10-171-4/+18
* Fix a type violationChris Lattner2004-10-161-1/+1
* Kill the bogon that slipped into my buffer before I committed.Chris Lattner2004-10-161-1/+1
* Implement InstCombine/getelementptr.ll:test9, which is the source of manyChris Lattner2004-10-161-0/+18
* Optimize instructions involving undef values. For example X+undef == undef.Chris Lattner2004-10-161-27/+125
* Transform memmove -> memcpy when the source is obviously constant memory.Chris Lattner2004-10-121-16/+33
* Reenable the transform, turning X/-10 < 1 into X > -10Chris Lattner2004-10-111-5/+5
* Implement sub.ll:test17, -X/C -> X/-CChris Lattner2004-10-091-0/+5
* Temporarily disable a buggy transformation until it can be fixed. This fixesChris Lattner2004-10-081-0/+5
* Instcombine (X & FF00) + xx00 -> (X+xx00) & FF00, implementing and.ll:test27Chris Lattner2004-10-081-0/+25
* Little patch to turn (shl (add X, 123), 4) -> (add (shl X, 4), 123 << 4)Chris Lattner2004-10-081-0/+3
* Instcombine: -(X sdiv C) -> (X sdiv -C), tested by sub.ll:test16Chris Lattner2004-10-061-0/+8
* Hrm, debugging printouts do not need to be in hereChris Lattner2004-09-291-2/+0
OpenPOWER on IntegriCloud