aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/select.ll
AgeCommit message (Expand)Author
2013-05-02Add a test for the foldSelectICmpAndOr fix committed in r180779.David Majnemer
2013-04-30Fix "Combine bit test + conditional or into simple math"David Majnemer
2013-04-18Revert "Combine bit test + conditional or into simple math"David Majnemer
2013-04-18Combine bit test + conditional or into simple mathDavid Majnemer
2012-10-20InstCombine: Fix an edge case where constant icmps could sneak into ConstantF...Benjamin Kramer
2011-12-15Added InstCombine for "select cond, ~cond, x" type patternsPete Cooper
2011-10-02Add a new icmp+select optz'n. Also shows off the load(cst) folding added inNick Lewycky
2011-05-28ConstantFoldInstOperands doesn't like compares, hand it off to instsimplify i...Benjamin Kramer
2011-05-27InstCombine: Make switch folding with equality compares more aggressive by tr...Benjamin Kramer
2011-03-27Teach the transformation that moves binary operators around selects to preserveNick Lewycky
2011-03-27Add a small missed optimization: turn X == C ? X : Y into X == C ? C : Y. ThisNick Lewycky
2011-03-11InstCombine: Fix a thinko where transform an icmp under the assumption that i...Benjamin Kramer
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-21Don't try to pull vector bitcasts that change the number of elements throughNick Lewycky
2011-01-09Instcombine: Fix pattern where the sext did not dominate the icmp using itTobias Grosser
2011-01-07InstCombine: Match min/max hidden by sext/zextTobias Grosser
2010-12-22InstCombine: creating selects from -1 and 0 is fine, they combine into a sext...Benjamin Kramer
2010-12-22Make this test not depend on how the variable is named.Duncan Sands
2010-12-11Generalize the and-icmp-select instcombine further by allowing selects of the...Benjamin Kramer
2010-12-11Factor the (x & 2^n) ? 2^m : 0 instcombine into its own method and generalize itBenjamin Kramer
2010-11-15Move PHI tests to phi.ll, out of select.ll.Duncan Sands
2010-11-13Generalize the reassociation transform in SimplifyCommutative (now renamed toDuncan Sands
2010-11-10Teach InstructionSimplify how to look through PHI nodes. Since PHIDuncan Sands
2010-11-08Add an additional test for icmp of select folding.Duncan Sands
2010-11-07Add simplification of floating point comparisons with the resultDuncan Sands
2010-11-07Fix a README item: when doing a comparison with the resultDuncan Sands
2010-07-08Teach instcombine to transformBenjamin Kramer
2009-12-21add check lines for min/max tests.Chris Lattner
2009-12-21really convert this to filecheck.Chris Lattner
2009-12-21give instcombine some helper functions for matching MIN and MAX, andChris Lattner
2009-12-21filecheckizeChris Lattner
2009-09-28The select instruction is not neccesarily in the same block as theChris Lattner
2009-09-27Enhance the previous fix for PR4895 to allow more values than justChris Lattner
2009-09-27implement PR4895, by making FoldOpIntoPhi handle select conditionsChris Lattner
2009-09-08Use opt -S instead of piping bitcode output through llvm-dis.Dan Gohman
2009-09-08Change these tests to feed the assembly files to opt directly, insteadDan Gohman
2008-03-01Remove llvm-upgrade and update test cases.Tanya Lattner
2007-11-25Implement PR1822Chris Lattner
2007-04-15For PR1319:Reid Spencer
2007-04-14For PR1319:Reid Spencer
2006-12-02Use the llvm-upgrade program to upgrade llvm assembly.Reid Spencer
2006-09-19number test rightChris Lattner
2006-09-19make this harderChris Lattner
2006-09-19new testcasesChris Lattner
2006-09-09new testcaseChris Lattner
2005-04-23add a new testcaseChris Lattner
2004-09-23load null is undefined behavior, this should foldChris Lattner
2004-06-09More instcombine testcasesChris Lattner
2004-06-09New testcase for the instruction combiner that happen often in the Java FEChris Lattner