aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2009-02-02reduce testcase.Chris Lattner
2009-01-31Reinstate this optimization to fold icmp of xor when possible. Don't try toNick Lewycky
2009-01-31Fix PR3452 (an infinite loop bootstrapping) by disabling the recentChris Lattner
2009-01-31now that all the pieces are in place, teach instcombine'sChris Lattner
2009-01-31make sure to set Changed=true when instcombine hacks on the code,Chris Lattner
2009-01-26Fixed optimization of combining two shuffles where the first shuffle inputsMon P Wang
2009-01-24testcase for PR3381.Torok Edwin
2009-01-24Make InstCombineStoreToCast handle aggregates more aggressively,Chris Lattner
2009-01-21Do not use host floating point types when emittingDale Johannesen
2009-01-21Disable on x86_64 until I figure out what's wrong.Dale Johannesen
2009-01-21Make special cases (0 inf nan) work for frem.Dale Johannesen
2009-01-20Calls to fmod, it turns out, are constant-folded byDale Johannesen
2009-01-19Move & restructure test per review.Dale Johannesen
2009-01-16Fix PR3335 by not turning a store to one address space into a store to another.Chris Lattner
2009-01-16Clean up previous cast optimization a bit. Also make zext elimination a bit m...Evan Cheng
2009-01-15- Teach CanEvaluateInDifferentType of this xform: sext (zext ty1), ty2 -> zex...Evan Cheng
2009-01-13Make instcombine ensure that all allocas are explicitly aligned at atDan Gohman
2009-01-09Implement rdar://6480391, extending of equality icmp's to avoid a truncation.Chris Lattner
2009-01-09Fix part 3/2 of PR3290, making instcombine zap (gep(bitcast)) when possible.Chris Lattner
2009-01-08ValueTracker can't assume that an alloca with no specified alignment Chris Lattner
2009-01-05make m_ConstantInt(int64_t) safely match ConstantInt's that are larger than i64.Chris Lattner
2009-01-04XFAIL this test. The xform was removed.Bill Wendling
2009-01-01Add transformation:Bill Wendling
2008-12-18Make all the vector elements positive in an srem of constant vector.Nick Lewycky
2008-12-01Use m_Specific() instead of double matching.Bill Wendling
2008-12-01simplify these patterns using m_Specific. No need to grep for Chris Lattner
2008-12-01Teach inst combine to merge GEPs through PHIs. This is reallyChris Lattner
2008-12-01Implement ((A|B)&1)|(B&-2) -> (A&1) | B transformation. This also takes care ofBill Wendling
2008-11-30Add instruction combining for ((A&~B)|(~A&B)) -> A^B and all permutations.Bill Wendling
2008-11-30Implement (A&((~A)|B)) -> A&B transformation in the instruction combiner. ThisBill Wendling
2008-11-30getSExtValue() doesn't work for ConstantInts with bitwidth > 64 bits. Use allBill Wendling
2008-11-30Strengthen check for div inst-combining.Bill Wendling
2008-11-30Instcombine was illegally transforming -X/C into X/-C when either X or CBill Wendling
2008-11-27Chris prefers icmp/select over udiv!Nick Lewycky
2008-11-27Add a couple of missed optimizations on integer vectors. Multiply and divideNick Lewycky
2008-11-21Optimize (x/y)*y into x-(x%y) in general. Div and rem are about the same, andNick Lewycky
2008-11-16Handle the case where there is no "not". It is possible it got Chris Lattner
2008-11-16make this actually test what it is trying to.Chris Lattner
2008-11-09If the LHS of the FCMP is coming from a UIToFP instruction, then we don't wantBill Wendling
2008-11-02Fix demanded bits analysis with srem by negative number. Based on a patchNick Lewycky
2008-11-02Fix this recently moved code to use the correct type. CI is now aDan Gohman
2008-10-30Canonicalize sext(i1) to i1?-1:0, and update various instcombineDan Gohman
2008-10-28(A & sext(C)) | (B & ~sext(C) -> C ? A : BDan Gohman
2008-10-24Don't try to create a mask when we don't need one. Fixes a crash.Nick Lewycky
2008-10-15Teach instcombine's visitLoad to scan back several instructionsDan Gohman
2008-10-14Combine (fcmp cc0 x, y) | (fcmp cc1 x, y) into a single fcmp when possible.Evan Cheng
2008-10-14- Somehow I forgot about one / une.Evan Cheng
2008-10-14Optimize anding of two fcmp into a single fcmp if the operands are the same. ...Evan Cheng
2008-10-11Fix PR2697 by rewriting the '(X / pos) op neg' logic. This also changesChris Lattner
2008-10-05rewrite bswap matching to be more general, allowing arbitraryChris Lattner