aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2011-08-03Fix logical error when detecting lifetime intrinsics.Nick Lewycky
2011-08-02Teach InstCombine that lifetime intrincs aren't a real user on the result of aNick Lewycky
2011-08-02Lifetime intrinsics on undef are dead.Nick Lewycky
2011-07-31Add a small gep optimization I noticed was missing while reading some IL.Rafael Espindola
2011-07-29Make sure to correctly clear the exact/nuw/nsw flags off of shifts when they ...Eli Friedman
2011-07-13Change test case, one that actually failed before my commit.Evan Cheng
2011-07-13It's not safe to fold (fptrunc (sqrt (fpext x))) to (sqrtf x) if there is ano...Evan Cheng
2011-07-11Don't duplicate the work done by a gep into a "bitcast" if the gep hasRafael Espindola
2011-07-09Land the long talked about "type system rewrite" patch. ThisChris Lattner
2011-07-04PR10267: Don't combine an equality compare with an AND into an inequality com...Benjamin Kramer
2011-06-23PR10180: Fix a instcombine crash with FP vectors.Eli Friedman
2011-06-18rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which isChris Lattner
2011-06-17Stop accepting and ignoring attributes in function types. Attributes are app...Chris Lattner
2011-06-17make the asmparser reject function and type redefinitions. 'Merging' hasn't ...Chris Lattner
2011-06-17remove parser support for the obsolete "multiple return values" syntax, whichChris Lattner
2011-06-17Remove support for using "foo" as symbols instead of %"foo". This is ancientChris Lattner
2011-06-17manually upgrade a bunch of tests to modern syntax, and remove some thatChris Lattner
2011-06-13Avoid fusing bitcasts with dynamic allocas if the amount-to-allocateStuart Hastings
2011-06-13InstCombine: Fold A-b == C --> b == A-C if A and C are constants.Benjamin Kramer
2011-06-12InstCombine: Shrink ((zext X) & C1) == C2 to fold away the cast if the "zext"...Benjamin Kramer
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