aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms
AgeCommit message (Expand)Author
2012-01-08InstCombine: If we have a bit test and a sign test anded/ored together, merge...Benjamin Kramer
2012-01-07LSR: Don't optimize loops if an outer loop has no preheader.Andrew Trick
2012-01-07Extended replaceCongruentPhis to handle mixed phi types.Andrew Trick
2012-01-07comment typoAndrew Trick
2012-01-05Fix SpeculativelyExecuteBB to either speculate all or none of the phisDan Gohman
2012-01-05PR11705, part 2: globalopt shouldn't put inttoptr/ptrtoint operations into gl...Eli Friedman
2012-01-05Revert r56315. When the instruction to speculate is a load, thisDan Gohman
2012-01-05FileCheck hygiene.Benjamin Kramer
2012-01-04Teach instcombine all sorts of great stuff about shifts that have exact, nuw orNick Lewycky
2012-01-02Fix SCEVExpander to handle loops with no preheader when LSR gives it aAndrew Trick
2011-12-31Make use of the exact bit when optimizing '(X >>exact 3) << 1' to eliminate theNick Lewycky
2011-12-28Change CaptureTracking to pass a Use* instead of a Value* when a value isNick Lewycky
2011-12-27Turn cos(-x) into cos(x). Patch by Alexander Malyshev!Nick Lewycky
2011-12-27Teach simplifycfg to recompute branch weights when merging some branches, andNick Lewycky
2011-12-26Update the branch weight metadata when reversing the order of a branch.Nick Lewycky
2011-12-24Add an explicit test that we now fold cttz.i32(..., true) >> 5 -> 0.Chandler Carruth
2011-12-24InstCombine: Add a combine that turns (2^n)-1 ^ x back into (2^n)-1 - x iff x...Benjamin Kramer
2011-12-24ComputeMaskedBits: Make knownzero computation more aggressive for ctlz with u...Benjamin Kramer
2011-12-24InstCombine: Canonicalize (2^n)-1 - x into (2^n)-1 ^ x iff x is known to be s...Benjamin Kramer
2011-12-23Move this test from date-name to feature-name, and port it to FileCheck.Nick Lewycky
2011-12-22Reinstate r146578; it doesn't appear to be the cause of some recent execution-Chad Rosier
2011-12-22Give string constants generated by IRBuilder private linkage.Benjamin Kramer
2011-12-22Speculatively revert r146578 to determine if it is the cause of a number ofChad Rosier
2011-12-21Make some intrinsics safe to speculatively execute.Nick Lewycky
2011-12-20Unit test for r146950: LSR postinc expansion, PR11571.Andrew Trick
2011-12-18Allow inlining of functions with returns_twice calls, if they have theJoerg Sonnenberger
2011-12-17Revert r146822 at Pete Cooper's request as it broke clang self hosting.Kevin Enderby
2011-12-17SimplifyCFG now predicts some conditional branches to true or false depending...Pete Cooper
2011-12-15Added InstCombine for "select cond, ~cond, x" type patternsPete Cooper
2011-12-15Make loop preheader insertion in LoopSimplify handle the case where the loop ...Eli Friedman
2011-12-14Move Instruction::isSafeToSpeculativelyExecute out of VMCore andDan Gohman
2011-12-14LSR: Fold redundant bitcasts on-the-fly.Andrew Trick
2011-12-14Fix for bug #11429: Wrong behaviour for switches. Small improvement for code ...Stepan Dyatkovskiy
2011-12-14It turns out that clang does use pointer-to-function types toDan Gohman
2011-12-12Only replace fwrite with fputc, if the return value is unused.Joerg Sonnenberger
2011-12-12Manually upgrade the test suite to specify the flag to cttz and ctlz.Chandler Carruth
2011-12-09Add -unroll-runtime for unrolling loops with run-time trip counts.Andrew Trick
2011-12-08Fix infinite loop in DSE when deleting a free in a reachable loop that's alsoNick Lewycky
2011-12-06LSR: prune undesirable formulae early.Andrew Trick
2011-12-06Probably not a good idea to convert a single vector load into a memcpy. WeChad Rosier
2011-12-05Make the MemCpyOptimizer a bit more aggressive. I can't think of a scenerioChad Rosier
2011-12-05Add support for vectors of pointers.Nadav Rotem
2011-12-03Fixed deadstoreelimination bug where negative indices were incorrectly causin...Pete Cooper
2011-12-03Add support for constant folding the pow intrinsic.Chad Rosier
2011-12-01Prevent library calls from being folded if -fno-builtin has been specified.Chad Rosier
2011-12-01Improved fix for abs(val) != 0 to check other similar case. Also fixed style...Pete Cooper
2011-12-01Removed use of grep from test and moved it to be with other icmp testsPete Cooper
2011-12-01Added instcombine pattern to spot comparing -val or val against 0.Pete Cooper
2011-11-30Better test case found in duplicate PR10570.Andrew Trick
2011-11-30LSR: handle the expansion of phi operands that use postinc forms of the IV.Andrew Trick