aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineSelect.cpp
AgeCommit message (Expand)Author
2013-03-28Check if Type is a vector before calling function Type::getVectorNumElements.Akira Hatanaka
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-10-20InstCombine: Fix an edge case where constant icmps could sneak into ConstantF...Benjamin Kramer
2012-10-08Move TargetData to DataLayout.Micah Villmow
2012-09-28Surprisingly, we missed a trivial case here. Fix that!Nick Lewycky
2012-09-27Prefer shuffles to selects. Backends love shuffles!Nick Lewycky
2012-07-27fix infinite loop in instcombine in the presence of a (malformed) self-refere...Nuno Lopes
2012-07-26Simplify demanded bits of select sources where the condition is a constant ve...Pete Cooper
2012-06-07Fix a bug in FoldSelectOpOp. Bitcast ops may change the number of vector elem...Nadav Rotem
2012-05-28InstCombine: Fix infinite loop when encountering switch on trivial icmp.Benjamin Kramer
2012-01-20More dead code removal (using -Wunreachable-code)David Blaikie
2011-12-15Added InstCombine for "select cond, ~cond, x" type patternsPete Cooper
2011-12-02Fix a few more places where TargetData/TargetLibraryInfo is not being passed.Chad Rosier
2011-10-02Add a new icmp+select optz'n. Also shows off the load(cst) folding added inNick Lewycky
2011-10-02Enhance a couple places where we were doing constant folding of instructions,Nick Lewycky
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