aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2009-12-21filecheckizeChris Lattner
2009-12-21enhance x-(-A) -> x+A to preserve NUW/NSW.Chris Lattner
2009-12-21Optimize all cases of "icmp (X+Cst), X" to something simpler. This triggersChris Lattner
2009-12-21convert to filecheckChris Lattner
2009-12-19fix PR5827 by disabling the phi slicing transformation in a caseChris Lattner
2009-12-18Optimize icmp of null and select of two constants even if the select hasEli Friedman
2009-12-17Allow instcombine to combine "sext(a) >u const" to "a >u trunc(const)".Eli Friedman
2009-12-17Make the ptrtoint comparison simplification work if one side is a global.Eli Friedman
2009-12-17Slightly generalize transformation of memmove(a,a,n) so that it also appliesEli Friedman
2009-12-17Aggressively flip compare constant expressions where appropriate; constantEli Friedman
2009-12-12Fix some CHECK lines which were ignored by accident.Benjamin Kramer
2009-12-05Generalize this optimization to work on equality comparisons between any twoNick Lewycky
2009-12-03fix PR5673 by being more careful about pointers to functions.Chris Lattner
2009-12-02merge sext-2 into sext.llChris Lattner
2009-12-02rename testChris Lattner
2009-12-02filecheckizeChris Lattner
2009-12-02Fixed an assertion failure for tracking sext of a vector of integersMon P Wang
2009-11-29Teach ConstantFolding to do a better job when folding gep(bitcast).Nick Lewycky
2009-11-29add testcases for the foo_with_overflow op xforms added recently andChris Lattner
2009-11-29Implement PR5634.Chris Lattner
2009-11-26Fix PR5471 by removing an instcombine xform. Some pieces of the codeChris Lattner
2009-11-23Make ConstantFoldConstantExpression recursively visit the entireDan Gohman
2009-11-23Reapply r88830 with a bugfix: this transform only applies to icmp eq/ne. ThisNick Lewycky
2009-11-15Revert r88830 and r88831 which appear to have caused a selfhost buildbot someNick Lewycky
2009-11-15Correct typo.Nick Lewycky
2009-11-15Teach instcombine to look for booleans in wider integers when it encounters aNick Lewycky
2009-11-11Don't trivially delete unused calls to llvm.invariant.start. This allowsDuncan Sands
2009-11-10unify the code that determines whether it is a good idea to change the typeChris Lattner
2009-11-09if a 'with overflow' intrinsic just has the normal result used, simplifyChris Lattner
2009-11-09enhance PHI slicing to handle the case when a slicable PHI is beginChris Lattner
2009-11-08Teach an instcombine to not pull trunc instructions through PHI nodesChris Lattner
2009-11-08reapply r8644[3-5] with only the scary part Chris Lattner
2009-11-08Speculatively revert r8644[3-5], they seem to be leading to infinite loops inDaniel Dunbar
2009-11-08another more interesting test.Chris Lattner
2009-11-08feature test for the new transformation in r86443Chris Lattner
2009-11-08teach a couple of instcombine transformations involving PHIs toChris Lattner
2009-11-07make instcombine only rewrite a chain of computation Chris Lattner
2009-11-04move two functions up higher in the file. Delete a useless argumentChris Lattner
2009-11-04filecheckize this test.Chris Lattner
2009-11-03Make opt default to not adding a target data string and update tests that dep...Kenneth Uildriks
2009-11-02fix instcombine to only do store sinking when the alignmentsChris Lattner
2009-11-02merge a test into store.llChris Lattner
2009-11-02convert to filecheckChris Lattner
2009-11-01merge phi-merge.ll into phi.llChris Lattner
2009-11-01when merging two loads, make sure to take the min of their alignment,Chris Lattner
2009-11-01fix a bug noticed by inspection: when instcombine sinks loads throughChris Lattner
2009-11-01convert to filecheck.Chris Lattner
2009-10-26Convert a few tests to FileCheck for PR5307.Edward O'Callaghan
2009-10-26Code that checks WillNotOverflowSignedAdd before creating an AddDan Gohman
2009-10-26reapply r85085 with a bugfix to avoid infinite looping.Chris Lattner