aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2008-08-06Fix a shufflevector instcombine that was emitting invalid masks indicesDan Gohman
2008-08-06optimize a common idiom generated by clang for bitfield access, PR2638.Chris Lattner
2008-08-06Zap sitofp/fptoui pairs. In all cases when the sign difference Chris Lattner
2008-08-06Reinstate this optimization, but without the miscompile. Thanks to Bill forNick Lewycky
2008-08-06Just grep for through the LL code instead of the ASM codeBill Wendling
2008-08-05Add default architecture.Bill Wendling
2008-08-05Testcase for PR2629.Bill Wendling
2008-08-05Revert r53282. This was causing a miscompile on Linux. Also, the transformationBill Wendling
2008-07-17Fix PR2553Chris Lattner
2008-07-16Add a few cases to instcombine's extractvalue testcase.Matthijs Kooijman
2008-07-16Fix PR2296. Do not transform x86_sse2_storel_dq into a full-width store.Evan Cheng
2008-07-14Fix PR2506 by being a bit more careful about reverse fact propagation whenChris Lattner
2008-07-12Enhance analysis of srem.Nick Lewycky
2008-07-11Add another optimization from PR2330. Also catch some missing cases that areNick Lewycky
2008-07-11Fix folding of icmp's of i1 where the comparison is signed. The codeChris Lattner
2008-07-11Fix a bogus optimization: folding (slt (zext i1 A to i32), 1) -> (slt i1 A, t...Chris Lattner
2008-07-11make this condition more precise.Chris Lattner
2008-07-10Fix overzealous optimization. Thanks to Duncan Sands for pointing out my error!Nick Lewycky
2008-07-09Fold (a < 8) && (b < 8) into (a|b) < 8 for unsigned less or greater than.Nick Lewycky
2008-07-09Fold ((1 << a) & 1) to (a == 0).Nick Lewycky
2008-07-09Fix a broken test. Neither load is eliminable without changing the CFG.Chris Lattner
2008-07-09Reduce x - y to -y when we know the 'x' part will get masked off anyways.Nick Lewycky
2008-07-08new testcase for PR2496Chris Lattner
2008-07-05Fix missed optimization opportunity when analyzing cast of mul and select.Nick Lewycky
2008-06-25Fix PR2488, a case where we deleted stack restores too aggressively.Chris Lattner
2008-06-21Fix for PR2479: correctly optimize expressions like (a > 13) & (a == Eli Friedman
2008-06-20Fix PR2471, which is a bug involving an invalid promotion from a conditional ...Chris Lattner
2008-06-18implement some simple bswap optimizations, rdar://5992453Chris Lattner
2008-06-18make truncate/sext elimination capable of changing phi's. This Chris Lattner
2008-06-16Make testcase check for extractvalue instead of extractelement.Matthijs Kooijman
2008-06-13Remove unnecessary target lines.Eli Friedman
2008-06-13Remove unnecessary target lines.Eli Friedman
2008-06-13Don't skip over instructions other than loads that might read memory Eli Friedman
2008-06-13Make sure SimplifyStoreAtEndOfBlock doesn't mess with loops; the Eli Friedman
2008-06-11Teach instruction combining about the extractvalue. It can succesfully foldMatthijs Kooijman
2008-06-10Ignore stderr for some more tests that expect warnings there.Matthijs Kooijman
2008-06-09Fix two more not-grep tests that were missing llvm-dis.Dan Gohman
2008-06-08Limit the icmp+phi merging optimization to the cases where it is profitable:Chris Lattner
2008-06-05Add a test case for opt -instcombine bug fix in revision 52003.Zhou Sheng
2008-06-01When simplifying a call to a bitcast function, tighten upDuncan Sands
2008-05-31Peer through sext/zext when looking for not(cmp).Nick Lewycky
2008-05-31Add more i1 optimizations. add, sub, mul, s/udiv on i1 are now simplified away.Nick Lewycky
2008-05-31Adding i1 is always Xor.Nick Lewycky
2008-05-28Implement PR2370: memmove(x,x,size) -> noop.Chris Lattner
2008-05-25"ret (constexpr)" can't be folded into a Constant. Add a method toNick Lewycky
2008-05-24Fix a serious brain-o. Obviously no-one reviewed my patch :(Chris Lattner
2008-05-23Constant integer vectors may also be negated.Nick Lewycky
2008-05-23Revert X + X --> X * 2 optz'n which pessimizes heavily on x86.Nick Lewycky
2008-05-23Implement X + X for vectors.Nick Lewycky
2008-05-23Fix a recently added optimization to not crash on vectors.Nick Lewycky