aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms
AgeCommit message (Expand)Author
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
2011-11-29Add support for sqrt, sqrtl, and sqrtf in TargetLibraryInfo. Disable Chad Rosier
2011-11-29Fix a theoretical problem (not seen in the wild): if different instances of aDuncan Sands
2011-11-29Reenable this IndVars unit test.Andrew Trick
2011-11-28Add a missing safety check to ProcessUGT_ADDCST_ADD. Fixes PR11438.Eli Friedman
2011-11-28Make SelectionDAG::InferPtrAlignment use llvm::ComputeMaskedBits instead of d...Eli Friedman
2011-11-27remove a test that is using old-style llvm.dbg intrinsics, apparently onlyChris Lattner
2011-11-27remove autoupgrade support for old forms of llvm.prefetch and the oldChris Lattner
2011-11-27Upgrade syntax of tests using volatile instructions to use 'load volatile' in...Chris Lattner
2011-11-27remove autoupgrade support for really old-style debug info intrinsics.Chris Lattner
2011-11-26FileCheck-ize this test and make it more precise. This is in preparationChandler Carruth