aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2008-02-13A loop latch phi node may have uses inside loop, not just in loop header.Devang Patel
2008-02-13Rename APInt's isPositive to isNonNegative, to reflect what itDan Gohman
2008-02-13While moving exit condition, do not drop loop latch on the floor.Devang Patel
2008-02-13Keep track of exit value operand number when operands are swapped.Devang Patel
2008-02-13remove some dead code.Chris Lattner
2008-02-12Re-apply the patch to improve the optimizations of memcpy's, with severalOwen Anderson
2008-02-12Fix for bug 1996: optimize out loads of undef. This code basically just Eli Friedman
2008-02-10Fix scalarrepl to not 'miscompile' undefined code, part #2.Chris Lattner
2008-02-08Fix PR 1995.Devang Patel
2008-02-06Temporarily reverting:Bill Wendling
2008-02-05Make RenamePass faster by making the 'is this a new phi node'Chris Lattner
2008-02-05Fix a bug compiling PR1978 (perhaps not the only one though) whichChris Lattner
2008-02-04Be more precise when eliminating pointers bue to memcpy's. This allows moreOwen Anderson
2008-02-04Allow GVN to hack on memcpy's, making them open to further optimization.Owen Anderson
2008-02-03There are some cases where icmp(add) can be folded into a new icmp. Handle them.Nick Lewycky
2008-02-03Hack on vectors too.Nick Lewycky
2008-02-03Fold away one multiply in instcombine. This would normally be caught inNick Lewycky
2008-02-01Don't drop function/call return attributes like 'nounwind'.Duncan Sands
2008-01-30Remove a couple more cases of "getNumUses() == 0". No need to walk the linkedNick Lewycky
2008-01-30Use empty() instead of comparing size() with zero.Nick Lewycky
2008-01-30Don't DCE FreeInst's. We were using those! Patch from Owen Anderson.Nick Lewycky
2008-01-30Make DSE much more aggressive by performing DCE earlier. Update a testcase t...Owen Anderson
2008-01-30Fix a bug where scalarrepl would discard offset if type would match.Chris Lattner
2008-01-29Don't let globalopt hack on volatile loads or stores.Chris Lattner
2008-01-29Use empty() instead of comparing size() with zero.Dan Gohman
2008-01-29eliminate additions of 0.0 when they are obviously dead. This has to be care...Chris Lattner
2008-01-29Add support for eliminating memcpy's at the end of functions. Also fix some ...Owen Anderson
2008-01-29Filter loops that subtract induction variables.Devang Patel
2008-01-28Transform calls to memcpy into llvm.memcpy calls, patch by Eli Friedman.Chris Lattner
2008-01-28Handle some more combinations of extend and icmp. Fixes PR1940.Nick Lewycky
2008-01-28Fix PR1932 by disabling an xform invalid for fdiv.Chris Lattner
2008-01-28Fix PR1938 by forcing the code that uses an undefined value to branch oneChris Lattner
2008-01-27Be more careful modifying the use_list while also iterating through it.Nick Lewycky
2008-01-27Revert r46393: readonly/readnone functions are noDuncan Sands
2008-01-27The CorrelatedExpressionElimination pass is known to be buggy. Remove it.Bill Wendling
2008-01-27Fold fptrunc(add (fpextend x), (fpextend y)) -> add(x,y), as GCC does.Chris Lattner
2008-01-26If there are no machine instructions emitted for a function, then insertBill Wendling
2008-01-26Create an explicit copy for byval parameters evenDuncan Sands
2008-01-26If we have a function like this:Bill Wendling
2008-01-25Do this more neatly.Duncan Sands
2008-01-25DeadStoreElimination can treat byval parameters as if there were alloca's for...Owen Anderson
2008-01-22Enable the fix I just checked in, silly me.Nick Lewycky
2008-01-22Multiply can be evaluated in a different type, so long as the target type hasNick Lewycky
2008-01-20Make sure the caller doesn't use freed memory.Duncan Sands
2008-01-20Initializing an unsigned with ~0UL causes the compilerDuncan Sands
2008-01-17DAE bug fix. Don't lose parameter attributes on vararg arguments.Evan Cheng
2008-01-17Fix arg promotion to propagate the correct attrs on the calls toChris Lattner
2008-01-16Handle attribute(used) global variables that are i8.Chris Lattner
2008-01-16Do not strip llvm.used values.Devang Patel
2008-01-14I noticed that the trampoline straightening transformation couldDuncan Sands