| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Include named metadata when cloning a module. | Bob Wilson | 2010-06-22 | 1 | -0/+11 |
| | | | | | llvm-svn: 106508 | ||||
| * | Use A.append(...) instead of A.insert(A.end(), ...) when A is a | Dan Gohman | 2010-06-21 | 2 | -10/+8 |
| | | | | | | | SmallVector, and other SmallVector simplifications. llvm-svn: 106452 | ||||
| * | Add a TODO comment. | Dan Gohman | 2010-06-19 | 1 | -0/+2 |
| | | | | | llvm-svn: 106397 | ||||
| * | Include the use kind along with the expression in the key of the | Dan Gohman | 2010-06-19 | 1 | -2/+28 |
| | | | | | | | | | | | | | use sharing map. The reconcileNewOffset logic already forces a separate use if the kinds differ, so incorporating the kind in the key means we can track more sharing opportunities. More sharing means fewer total uses to track, which means smaller problem sizes, which means the conservative throttles don't kick in as often. llvm-svn: 106396 | ||||
| * | Don't include things in anonymous namespaces that don't need it. | Dan Gohman | 2010-06-19 | 1 | -0/+4 |
| | | | | | llvm-svn: 106395 | ||||
| * | Disable indvars on loops when LoopSimplify form is not available. | Dan Gohman | 2010-06-18 | 1 | -0/+11 |
| | | | | | | | This fixes PR7333. llvm-svn: 106267 | ||||
| * | remove trailing whitespace | Jim Grosbach | 2010-06-16 | 1 | -11/+11 |
| | | | | | llvm-svn: 106164 | ||||
| * | Make sure that simplify libcalls does not replace a call with one calling | Rafael Espindola | 2010-06-16 | 1 | -0/+5 |
| | | | | | | | convention with a new call with a different calling convention. llvm-svn: 106134 | ||||
| * | simplify-libcalls: fold strncmp(x, y, 1) -> memcmp(x, y, 1) | Benjamin Kramer | 2010-06-16 | 1 | -0/+3 |
| | | | | | | | | The memcmp will be optimized further and even the pathological case 'strstr(x, "x") == x' generates optimal code now. llvm-svn: 106097 | ||||
| * | simplify-libcalls: fold strstr(a, b) == a -> strncmp(a, b, strlen(b)) == 0 | Benjamin Kramer | 2010-06-15 | 2 | -0/+56 |
| | | | | | llvm-svn: 106047 | ||||
| * | jump threading can't split a critical edge from an indirectbr. This | Chris Lattner | 2010-06-14 | 1 | -1/+6 |
| | | | | | | | fixes PR7356. llvm-svn: 105950 | ||||
| * | SimplifyCFG: don't turn volatile stores to null/undef into unreachable. ↵ | Benjamin Kramer | 2010-06-13 | 1 | -0/+3 |
| | | | | | | | Fixes PR7369. llvm-svn: 105914 | ||||
| * | Pulled CodeMetrics out of InlineCost.h and made it a bit more general, so it ↵ | Kenneth Uildriks | 2010-06-09 | 1 | -1/+1 |
| | | | | | | | can be reused from PartialSpecializationCost llvm-svn: 105725 | ||||
| * | Make bugpoint dead-argument-hacking actually work, and actually test it. | Dan Gohman | 2010-06-07 | 1 | -0/+7 |
| | | | | | llvm-svn: 105551 | ||||
| * | Partial specialization was not checking the callsite to make sure it was ↵ | Kenneth Uildriks | 2010-06-05 | 1 | -9/+33 |
| | | | | | | | using the same constants as the specialization, leading to calls to the wrong specialization. Patch by Takumi Nakamura\! llvm-svn: 105528 | ||||
| * | Don't track users of undef values; they aren't interesting for | Dan Gohman | 2010-06-04 | 1 | -1/+5 |
| | | | | | | | register pressure. llvm-svn: 105501 | ||||
| * | Copy location info for current function argument from dbg.declare if ↵ | Devang Patel | 2010-06-04 | 1 | -4/+2 |
| | | | | | | | respective store instruction does not have any location info. llvm-svn: 105490 | ||||
| * | Remove unused code | Jim Grosbach | 2010-06-01 | 1 | -64/+0 |
| | | | | | llvm-svn: 105293 | ||||
| * | fix think-o | Jim Grosbach | 2010-06-01 | 1 | -6/+2 |
| | | | | | llvm-svn: 105291 | ||||
| * | Simplify things a bit more. Fix prototype to use SmallVectorImpl and | Jim Grosbach | 2010-06-01 | 1 | -17/+17 |
| | | | | | | | change a few SmallVectors to vanilla C arrays. llvm-svn: 105289 | ||||
| * | mirror of r105280 changes for LowerInvoke, which uses the same basic logic here | Jim Grosbach | 2010-06-01 | 1 | -10/+27 |
| | | | | | llvm-svn: 105281 | ||||
| * | Use SmallVector instead of std::vector. | Jim Grosbach | 2010-06-01 | 1 | -12/+13 |
| | | | | | llvm-svn: 105279 | ||||
| * | Fix PR7272: when inlining through a callsite with byval arguments, | Duncan Sands | 2010-05-31 | 1 | -0/+4 |
| | | | | | | | | the newly created allocas may be used by inlined calls, so these need to have their tail call flags cleared. Fixes PR7272. llvm-svn: 105255 | ||||
| * | Avoid swap when a copy suffices. | Benjamin Kramer | 2010-05-31 | 1 | -1/+1 |
| | | | | | llvm-svn: 105220 | ||||
| * | The memcpy intrinsic only takes i8* for %src and %dst, so cast them to that | Nick Lewycky | 2010-05-31 | 1 | -2/+2 |
| | | | | | | | first. Fixes PR7265. llvm-svn: 105206 | ||||
| * | Move FindAvailableLoadedValue isSafeToLoadUnconditionally out of | Dan Gohman | 2010-05-28 | 6 | -223/+4 |
| | | | | | | | | lib/Transforms/Utils and into lib/Analysis so that Analysis passes can use them. llvm-svn: 104949 | ||||
| * | Teach instcombine to promote alloca array sizes. | Dan Gohman | 2010-05-28 | 1 | -0/+12 |
| | | | | | llvm-svn: 104945 | ||||
| * | Fix instcombine's handling of alloca to accept non-i32 types. | Dan Gohman | 2010-05-28 | 1 | -8/+7 |
| | | | | | llvm-svn: 104935 | ||||
| * | Fix typo. | Devang Patel | 2010-05-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 104914 | ||||
| * | Fix typo. | Devang Patel | 2010-05-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 104913 | ||||
| * | Do not drop location info for inlined function args. | Devang Patel | 2010-05-27 | 1 | -0/+5 |
| | | | | | llvm-svn: 104884 | ||||
| * | Teach instCombine to remove malloc+free if malloc's only uses are comparisons | Duncan Sands | 2010-05-27 | 4 | -46/+49 |
| | | | | | | | to null. Patch by Matti Niemenmaa. llvm-svn: 104871 | ||||
| * | Kill unneeded SExt. | Benjamin Kramer | 2010-05-26 | 1 | -1/+1 |
| | | | | | llvm-svn: 104692 | ||||
| * | Properly promote operands when optimizing a single-character memcmp. | Benjamin Kramer | 2010-05-25 | 1 | -3/+6 |
| | | | | | llvm-svn: 104648 | ||||
| * | Fix a missing newline in debug output. | Dan Gohman | 2010-05-25 | 1 | -1/+1 |
| | | | | | llvm-svn: 104644 | ||||
| * | DominatorTree.getNode can return null for unreachable blocks. | Dan Gohman | 2010-05-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 104290 | ||||
| * | Minor code cleanups. | Dan Gohman | 2010-05-20 | 1 | -8/+7 |
| | | | | | llvm-svn: 104287 | ||||
| * | Make Solve check its own post-condition, to reduce clutter in the | Dan Gohman | 2010-05-20 | 1 | -1/+2 |
| | | | | | | | top-level LSRInstance logic. llvm-svn: 104278 | ||||
| * | Add comments. | Dan Gohman | 2010-05-20 | 1 | -0/+16 |
| | | | | | llvm-svn: 104276 | ||||
| * | More code cleanups. Use iterators instead of indices when indices | Dan Gohman | 2010-05-20 | 1 | -22/+24 |
| | | | | | | | aren't needed. llvm-svn: 104273 | ||||
| * | Fix OptimizeShadowIV to set Changed. Change OptimizeLoopTermCond to set | Dan Gohman | 2010-05-20 | 1 | -8/+7 |
| | | | | | | | | | | Changed directly instead of using a return value. Rename FilterOutUndesirableDedicatedRegisters's Changed variable to distinguish it from LSRInstance's Changed member. llvm-svn: 104269 | ||||
| * | Add some comments. | Dan Gohman | 2010-05-20 | 1 | -0/+6 |
| | | | | | llvm-svn: 104268 | ||||
| * | Simplify this code. Don't do a DomTreeNode lookup for each visited block. | Dan Gohman | 2010-05-20 | 1 | -14/+5 |
| | | | | | llvm-svn: 104267 | ||||
| * | Minor code cleanups. | Dan Gohman | 2010-05-20 | 1 | -20/+11 |
| | | | | | llvm-svn: 104263 | ||||
| * | When canonicalizing icmp operand order to put the loop invariant | Dan Gohman | 2010-05-20 | 1 | -0/+1 |
| | | | | | | | | | | | | | operand on the left, the interesting operand is on the right. This fixes a bug where LSR was failing to recognize ICmpZero uses, which led it to be unable to reverse the induction variable in the attached testcase. Delete test/CodeGen/X86/stack-color-with-reg-2.ll, because its test is extremely fragile and hard to meaningfully update. llvm-svn: 104262 | ||||
| * | Set Changed to true when canonicalizing ICmp operand order; even though | Dan Gohman | 2010-05-20 | 1 | -0/+1 |
| | | | | | | | it isn't a very interesting change, it's a change nonetheless. llvm-svn: 104260 | ||||
| * | Strip llvm.dbg.lv also. | Devang Patel | 2010-05-20 | 1 | -0/+6 |
| | | | | | llvm-svn: 104236 | ||||
| * | Rename a variable to avoid shadowing. | Dan Gohman | 2010-05-20 | 1 | -2/+3 |
| | | | | | llvm-svn: 104234 | ||||
| * | Minor code simplification. | Dan Gohman | 2010-05-20 | 1 | -4/+4 |
| | | | | | llvm-svn: 104232 | ||||
| * | Move the code for deleting BaseRegs and LSRUses into helper functions, | Dan Gohman | 2010-05-20 | 1 | -5/+22 |
| | | | | | | | | and fix a bug that valgrind noticed where the code would std::swap an element with itself. llvm-svn: 104225 | ||||

