aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineSelect.cpp
AgeCommit message (Expand)Author
2011-07-20Clean up includes of llvm/Analysis/ConstantFolding.h so it's included where i...Eli Friedman
2011-07-19Use ArrayRef in ConstantFoldInstOperands and ConstantFoldCall.Jay Foad
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-06-23PR10180: Fix a instcombine crash with FP vectors.Eli Friedman
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-05-18Switch more inst insertion in instcombine to IRBuilder.Eli Friedman
2011-05-18Switch more inst insertion in instcombine to IRBuilder.Eli Friedman
2011-05-18Switch inst insertion in instcombine transform to IRBuilder.Eli Friedman
2011-03-28Remove tabs I accidentally added.Nick Lewycky
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-28Fold select + select where both selects are on the same condition.Nick Lewycky
2011-01-09Instcombine: Fix pattern where the sext did not dominate the icmp using itTobias Grosser
2011-01-08Fix a bug in r123034 (trying to sext/zext non-integers) and clean up a little.Frits van Bommel
2011-01-07InstCombine: Match min/max hidden by sext/zextTobias Grosser
2011-01-07Some whitespace fixesTobias Grosser
2010-12-22InstCombine: creating selects from -1 and 0 is fine, they combine into a sext...Benjamin Kramer
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-10-27Teach InstCombine not to use Add and Neg on FP. PR 8490.Dale Johannesen
2010-07-16Remove the rest of my instcombine changes. Back to the drawing board on this...Owen Anderson
2010-07-15Speculatively revert r108429 to fix the clang self-host.Owen Anderson
2010-07-15Per Chris' suggestion, get rid of the select canonicalization and just addOwen Anderson
2010-07-15Reapply r108378, with bugfixes, testcase, and improved comment formatting.Owen Anderson
2010-07-15Speculatively revert r108378; may be causing bootstrap failures.Eli Friedman
2010-07-14Add instcombine transforms to optimize tests of multiple bits of the same val...Owen Anderson
2010-07-08Teach instcombine to transformBenjamin Kramer
2010-04-20move some select simplifications out out instcombine intoChris Lattner
2010-02-23Don't do (X != Y) ? X : Y -> X for floating-point values; it doesn'tDan Gohman
2010-02-15Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands
2010-01-24change the canonical form of "cond ? -1 : 0" to be Chris Lattner
2010-01-05Convert a ton of simple integer type equality tests to the new predicate.Benjamin Kramer
2010-01-05clean up header.Chris Lattner
2010-01-05split select out to its own file.Chris Lattner