aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms
AgeCommit message (Expand)Author
2011-01-29Revert r124518. It broke Linux self-host.Evan Cheng
2011-01-29Re-commit r124462 with fixes. Tail recursion elim will now dup ret into uncon...Evan Cheng
2011-01-28My auto-simplifier noticed that ((X/Y)*Y)/Y occurs several times in SPECDuncan Sands
2011-01-28Revert r124462. There are a few big regressions that I need to fix first.Evan Cheng
2011-01-28Clean up the tests a little, make sure we match an instruction in the rightNick Lewycky
2011-01-28Fold select + select where both selects are on the same condition.Nick Lewycky
2011-01-28- Stop simplifycfg from duplicating "ret" instructions into unconditionalEvan Cheng
2011-01-27Fix surprising missed optimization in mergefunc where we forgot to considerNick Lewycky
2011-01-26Fix PR9039, a use-after-free in reassociate. The issue was that theDuncan Sands
2011-01-25In which I discover that zero+zero is zero, d'oh!Duncan Sands
2011-01-25Turn off this test - the corresponding instsimplify logic has beenDuncan Sands
2011-01-25According to my auto-simplifier the most common missed simplifications inDuncan Sands
2011-01-25Teach mergefunc how to emit aliases safely again -- but keep it turned it offNick Lewycky
2011-01-24merge all the "crash tests" into crash.llChris Lattner
2011-01-24fix PR9017, a bug where we'd assert when promoting in unreachableChris Lattner
2011-01-24enhance SRoA to promote allocas that are used by PHI nodes. This oftenChris Lattner
2011-01-23Enhance SRoA to promote allocas that are used by selects in someChris Lattner
2011-01-23Enhance SRoA to be more aggressive about scalarization of aggregate allocasChris Lattner
2011-01-23remove an old hack that avoided creating MMX datatypes. TheChris Lattner
2011-01-21Actually check memcpy lengths, instead of just commenting aboutDan Gohman
2011-01-21Just because we have determined that an (fcmp | fcmp) is true for A < B,Owen Anderson
2011-01-21fix PR9013, an infinite loop in instcombine.Chris Lattner
2011-01-21Don't try to pull vector bitcasts that change the number of elements throughNick Lewycky
2011-01-21Add a constant folding of casts from zero to zero. Fixes PR9011!Nick Lewycky
2011-01-20At -O123 the early-cse pass is run before instcombine has run. According to myDuncan Sands
2011-01-19Add unnamed_addr when we can show that address of a global is not used.Rafael Espindola
2011-01-18For completeness, generalize the (X + Y) - Y -> X transform and add X - (X + ...Duncan Sands
2011-01-18Simplify (X<<1)-X into X. According to my auto-simplier this is the most com...Duncan Sands
2011-01-16Test for lazy value info's ability to prove the absense of NULLs in pointers.Nick Lewycky
2011-01-16Teach DAE to look for functions whose arguments are unused, and change all ca...Anders Carlsson
2011-01-16Don't merge two constants if we care about the address of both.Rafael Espindola
2011-01-16Reduce and merge testcases.Owen Anderson
2011-01-16fix PR8932, a case where arg promotion could infinitely promote.Chris Lattner
2011-01-16if an alloca is only ever accessed as a unit, and is accessed with load/store...Chris Lattner
2011-01-16enhance FoldOpIntoPhi in instcombine to try harder when a phi hasChris Lattner
2011-01-16Improve the safety of my globalopt enhancement by ensuring that the bitcastOwen Anderson
2011-01-16fix PR8983, a broken assertion.Chris Lattner
2011-01-16remove the partial specialization pass. It is unmaintained and has bugs.Chris Lattner
2011-01-15Make constmerge a two-pass algorithm so that it won't miss mergingNick Lewycky
2011-01-15temporarily revert r123526. While working on a follow-on patch IChris Lattner
2011-01-15fix rdar://8785296 - -fcatch-undefined-behavior generates inefficient codeChris Lattner
2011-01-15Now that instruction optzns can update the iterator as they go, we can Chris Lattner
2011-01-15implement an instcombine xform that canonicalizes casts outside of and-with-c...Chris Lattner
2011-01-14Turn X-(X-Y) into Y. According to my auto-simplifier this is the most commonDuncan Sands
2011-01-14Factorize common code out of the InstructionSimplify shift logic. Add inDuncan Sands
2011-01-14Rename this test.Duncan Sands
2011-01-14relax testcase a bit.Chris Lattner
2011-01-14Move some shift transforms out of instcombine and into InstructionSimplify.Duncan Sands
2011-01-13Extend SROA to handle arrays accessed as homogeneous structs and vice versa.Bob Wilson
2011-01-13Make SROA more aggressive with allocas containing padding.Bob Wilson