aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms
AgeCommit message (Expand)Author
2012-03-13Generalize the "trunc(ptrtoint(x)) - trunc(ptrtoint(y)) ->Duncan Sands
2012-03-13Fix regression from r151466: an we can't replace uses of an instruction reach...Eli Friedman
2012-03-12When inlining a function and adding its inner call sites to theChandler Carruth
2012-03-12Teach instsimplify how to constant fold pointer differences.Chandler Carruth
2012-03-12FileCheck-ize this test.Chandler Carruth
2012-03-10Move llc + target triple tests into X86Andrew Trick
2012-03-10Don't try to filecheck bitcode.Benjamin Kramer
2012-03-10Make this transformation slightly less agressive and more correct.Bill Wendling
2012-03-09When identifying exit nodes for the reverse-CFG reverse-post-orderDan Gohman
2012-03-09Eliminate switch cases that can never match, for example removes allDuncan Sands
2012-03-09Undo a previous restriction on the inline cost calculation which NickChandler Carruth
2012-03-05Make sure we don't return bits outside the mask in ComputeMaskedBits. PR12189.Eli Friedman
2012-03-04Nick pointed out on IRC that GVN's propagateEquality wasn't propagatingDuncan Sands
2012-03-02LVI: Recognize the form instcombine canonicalizes range checks into when form...Benjamin Kramer
2012-02-29Have GVN also do condition propagation when the right-hand side is notDuncan Sands
2012-02-29Testcase for r151691.Bill Wendling
2012-02-28Reverted r152620 - DSE: Shorten memset when a later store overwrites the star...Pete Cooper
2012-02-28DSE: Shorten memset when a later store overwrites the start of itPete Cooper
2012-02-27When performing a conditional branch depending on the value of a comparisonDuncan Sands
2012-02-27Fix this assert. IP can point to an instruction with strange dominanceRafael Espindola
2012-02-26Add testcase for the previous commit.Rafael Espindola
2012-02-26Change the implementation of dominates(inst, inst) to one based on what theRafael Espindola
2012-02-26Reinstate the optimization from r151449 with a fix to not turn 'gep %x' intoNick Lewycky
2012-02-25Roll these back to r151448 until I figure out how they're breakingNick Lewycky
2012-02-25An argument and a local identified object (eg. a noalias call) could turn outNick Lewycky
2012-02-25Teach instsimplify to be more aggressive when analyzing comparisons of pointersNick Lewycky
2012-02-24fix PR12075, a regression in a recent transform I added. In unreachable code...Chris Lattner
2012-02-24Teach GVN that x+y is the same as y+x and that x<y is the same as y>x.Duncan Sands
2012-02-22Semantically revert 151015. Add a comment on why we should be able to assertRafael Espindola
2012-02-21Use the target-aware constant folder on expressions to improve the chanceNick Lewycky
2012-02-21InstCombine: Don't transform a signed icmp of two GEPs into a signed compare ...Benjamin Kramer
2012-02-20Check for the correct size in the invariant marker.Nick Lewycky
2012-02-20Test case for r150978.Benjamin Kramer
2012-02-20InstCombine: When comparing two GEPs that were derived from the same base poi...Benjamin Kramer
2012-02-20InstCombine: Make OptimizePointerDifference more aggressive.Benjamin Kramer
2012-02-20fold comparisons of gep'd alloca points with null to false,Chris Lattner
2012-02-18Don't skip debug instructions when looking for the insertion point ofRafael Espindola
2012-02-18Fix a rather nasty regression from r150690: LHS != RHS does not imply LHS->st...Eli Friedman
2012-02-17Calls and invokes with the new clang.arc.no_objc_arc_exceptionsDan Gohman
2012-02-17Remove question.Nick Lewycky
2012-02-17Add support for invariant.start inside the static constructor evaluator. This isNick Lewycky
2012-02-16InstSimplify: Ignore pointer casts when constant folding compares between poi...Benjamin Kramer
2012-02-16Replace all instances of dg.exp file with lit.local.cfg, since all tests are ...Eli Bendersky
2012-02-16loop-rotate shouldn't hoist alloca instructions out of a loop. Patch by Patr...Eli Friedman
2012-02-14Add simplifyLoopLatch to LoopRotate pass.Andrew Trick
2012-02-13Check against umin while converting fcmp into an icmp.Devang Patel
2012-02-13Just like in regular escape analysis, loads and stores throughDan Gohman
2012-02-10Update BBVectorize to use aliasesUnknownInst.Hal Finkel
2012-02-10Fix PR11948: the result type of an icmp may be a vector of boolean -Duncan Sands
2012-02-10Revert commit 149912 (lattner) and add a testcase that shows the problem (whichDuncan Sands