aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2011-06-12Simplify code. No functionality changes, name changes aside.Benjamin Kramer
2011-06-01Reapply 132348 with fixes. rdar://problem/6501862Stuart Hastings
2011-05-31Revert to pacify a buildbot. rdar://problem/6501862Stuart Hastings
2011-05-31Followup to 132316; accept arbitrary constants, add with a constant,Stuart Hastings
2011-05-30(1 - X) * (-2) -> (x - 1) * 2, for all positive nonzero powers of 2Stuart Hastings
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-26Renamed llvm.x86.sse42.crc32 intrinsics; crc64 doesn't exist. Chad Rosier
2011-05-25PR9998: ashr exact %x, 31 is not equivalent to sdiv exact %x, -2147483648.Eli Friedman
2011-05-23Transform any logical shift of a power of two into an exact/NUW shift whenChris Lattner
2011-05-22Carve out a place in instcombine to put transformations which work knowing th...Chris Lattner
2011-05-21Revert "InstCombine: Turn mul.with.overflow(X, 2) into the cheaper add.with.o...Benjamin Kramer
2011-05-21InstCombine: Turn mul.with.overflow(X, 2) into the cheaper add.with.overflow(...Benjamin Kramer
2011-05-20Revert r131664 and fix it in instcombine instead. rdar://9467055Evan Cheng
2011-05-19Move test to Transforms/InstCombine.Stuart Hastings
2011-05-18More instcombine cleanup, towards improving debug line info.Eli Friedman
2011-05-18More instcombine cleanup aimed towards improving debug line info.Eli Friedman
2011-05-18Start trying to make InstCombine preserve more debug info. The idea here is ...Eli Friedman
2011-05-17Drop lli, revise test.Stuart Hastings
2011-05-14Disable test harder.Benjamin Kramer
2011-05-14Disable this test while I revise it. rdar://problem/9267970Stuart Hastings
2011-05-14Avoid combining GEPs that might overflow at runtime.Stuart Hastings
2011-05-05PR9838: Fix transform introduced in r127064 to not trigger when only one side...Eli Friedman
2011-05-02Fix PR9579: when simplifying a compare to "true" or "false", and it wasDuncan Sands
2011-04-30InstCombine: Turn (zext A) udiv (zext B) into (zext (A udiv B)). Same for ure...Benjamin Kramer
2011-04-30Use SimplifyDemandedBits on div instructions.Benjamin Kramer
2011-04-30FileCheckize.Benjamin Kramer
2011-04-29InstCombine: turn (C1 << A) << C2) into (C1 << C2) << A)Benjamin Kramer
2011-04-28InstCombine: Merge "(trunc x) == C1 & (and x, CA) == C2" into a single and+icmp.Benjamin Kramer
2011-04-26Transform: "icmp eq (trunc (lshr(X, cst1)), cst" to "icmp (and X, mask), cst"Chris Lattner
2011-04-16Add test cases for Jay's r129641 and fix a 32-bit-centric testcase in a file ...Frits van Bommel
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner
2011-04-14Add an instcombine for constructs like a | -(b != c); a select is moreEli Friedman
2011-04-06This testcase passed even without the fix. Added the target info to make theNadav Rotem
2011-04-05InstCombine optimizes gep(bitcast(x)) even when the bitcasts casts away addressNadav Rotem
2011-04-01InstCombine: Turn icmp + sext into bitwise/integer ops when the input has onl...Benjamin Kramer
2011-03-31Instcombile optimization: extractelement(cast) -> cast(extractelement)Nadav Rotem
2011-03-31InstCombine: APFloat can't perform arithmetic on PPC double doubles, don't ev...Benjamin Kramer
2011-03-31InstCombine: Fix transform to use the swapped predicate.Benjamin Kramer
2011-03-31InstCombine: fold fcmp (fneg x), (fneg y) -> fcmp x, yBenjamin Kramer
2011-03-31InstCombine: fold fcmp pred (fneg x), C -> fcmp swap(pred) x, -CBenjamin Kramer
2011-03-31InstCombine: Shrink "fcmp (fpext x), C" to "fcmp x, C" if C can be losslessly...Benjamin Kramer
2011-03-31InstCombine: fold fcmp (fpext x), (fpext y) -> fcmp x, y.Benjamin Kramer
2011-03-30Avoid turning a floating point division with a constant power of two into a d...Benjamin Kramer
2011-03-30InstCombine: If the divisor of an fdiv has an exact inverse, turn it into an ...Benjamin Kramer
2011-03-29InstCombine: Add a few missing combines for ANDs and ORs of sign bit tests.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-18FileCheck-ize and update test.Eli Friedman
2011-03-17Try to not lose variable's debug info during instcombine.Devang Patel