| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Dest type is always i8 *. This allows some simplification. | Devang Patel | 2007-10-12 | 1 | -33/+12 |
| | | | | | | | Do not filter memmove. llvm-svn: 42930 | ||||
| * | Fix a bug in my patch last night that broke InstCombine/2007-10-12-Crash.ll | Chris Lattner | 2007-10-12 | 1 | -1/+7 |
| | | | | | llvm-svn: 42920 | ||||
| * | eliminate warning | Gabor Greif | 2007-10-12 | 1 | -1/+1 |
| | | | | | llvm-svn: 42892 | ||||
| * | Fix some 80 column violations. | Chris Lattner | 2007-10-12 | 1 | -35/+42 |
| | | | | | | | | | Fix DecomposeSimpleLinearExpr to handle simple constants better. Don't nuke gep(bitcast(allocation)) if the bitcast(allocation) will fold the allocation. This fixes PR1728 and Instcombine/malloc3.ll llvm-svn: 42891 | ||||
| * | Lower memcpy if it makes sense. | Devang Patel | 2007-10-11 | 1 | -0/+46 |
| | | | | | llvm-svn: 42864 | ||||
| * | Do not walk invalid iterator. | Devang Patel | 2007-10-09 | 1 | -2/+2 |
| | | | | | llvm-svn: 42812 | ||||
| * | Fix bug in updating dominance frontier after loop | Devang Patel | 2007-10-05 | 1 | -27/+117 |
| | | | | | | | | unswitch when frontier includes basic blocks that are not inside loop. llvm-svn: 42654 | ||||
| * | Fix 80 col violation. | Devang Patel | 2007-10-03 | 1 | -3/+3 |
| | | | | | llvm-svn: 42591 | ||||
| * | Refactor code in a separate method. | Devang Patel | 2007-10-03 | 1 | -33/+46 |
| | | | | | llvm-svn: 42590 | ||||
| * | Use empty() member functions when that's what's being tested for instead | Dan Gohman | 2007-10-03 | 4 | -6/+6 |
| | | | | | | | of comparing begin() and end(). llvm-svn: 42585 | ||||
| * | Tone down an overzealous optimization. | Dale Johannesen | 2007-10-03 | 1 | -3/+21 |
| | | | | | llvm-svn: 42582 | ||||
| * | Fix PR1719, by not marking llvm.global.annotations internal. | Tanya Lattner | 2007-10-03 | 1 | -0/+1 |
| | | | | | llvm-svn: 42578 | ||||
| * | Fix PR1719, by not marking llvm.noinline internal. | Chris Lattner | 2007-10-03 | 1 | -0/+1 |
| | | | | | llvm-svn: 42565 | ||||
| * | Fix stride computations for long double arrays. | Dale Johannesen | 2007-10-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 42508 | ||||
| * | Relax unsafe use check. If there is one unconditional use inside the loop ↵ | Devang Patel | 2007-10-01 | 1 | -22/+22 |
| | | | | | | | then it is safe to promote value even if there is another conditional use inside the loop. llvm-svn: 42493 | ||||
| * | minor long double related changes | Dale Johannesen | 2007-09-28 | 1 | -4/+2 |
| | | | | | llvm-svn: 42439 | ||||
| * | Don't do SRA for unions with long double fields. | Dale Johannesen | 2007-09-28 | 1 | -0/+6 |
| | | | | | | | Fixes a SWB crash. llvm-svn: 42422 | ||||
| * | Handle multiple induction variables. | Devang Patel | 2007-09-25 | 1 | -7/+14 |
| | | | | | | | This fixes PR714. llvm-svn: 42309 | ||||
| * | Do not reserve DOM check for GetElementPtrInst. | Devang Patel | 2007-09-25 | 1 | -21/+22 |
| | | | | | llvm-svn: 42306 | ||||
| * | doh.. | Devang Patel | 2007-09-25 | 1 | -1/+1 |
| | | | | | llvm-svn: 42300 | ||||
| * | Add transformation to update loop interation space. Now, | Devang Patel | 2007-09-25 | 1 | -7/+148 |
| | | | | | | | | | | | | | | | | for (i=A; i<N; i++) { if (i < X && i > Y) do_something(); } is transformed into U=min(N,X); L=max(A,Y); for (i=L;i<U;i++) do_somethihg(); llvm-svn: 42299 | ||||
| * | Do not promote null values because it may be unsafe to do so. | Devang Patel | 2007-09-24 | 1 | -0/+4 |
| | | | | | llvm-svn: 42270 | ||||
| * | explicit keywords. | Dan Gohman | 2007-09-24 | 1 | -1/+1 |
| | | | | | llvm-svn: 42262 | ||||
| * | Fix PR1692 | Devang Patel | 2007-09-21 | 1 | -3/+5 |
| | | | | | llvm-svn: 42209 | ||||
| * | Add partial caching of non-local memory dependence queries. This provides a ↵ | Owen Anderson | 2007-09-21 | 1 | -1/+1 |
| | | | | | | | | | modest speedup for GVN. llvm-svn: 42185 | ||||
| * | Update aux. info associated with an instruction before erasing instruction. | Devang Patel | 2007-09-20 | 1 | -12/+12 |
| | | | | | llvm-svn: 42180 | ||||
| * | Don't increment invalid iterator. | Devang Patel | 2007-09-20 | 1 | -1/+2 |
| | | | | | llvm-svn: 42178 | ||||
| * | Fix optimization. %x = sub %x, %y does not imply that %y is zero. | Nick Lewycky | 2007-09-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 42157 | ||||
| * | Avoid unsafe promotion. | Devang Patel | 2007-09-19 | 1 | -9/+41 |
| | | | | | llvm-svn: 42149 | ||||
| * | Improve comment. | Duncan Sands | 2007-09-19 | 1 | -1/+2 |
| | | | | | llvm-svn: 42132 | ||||
| * | A global variable with external weak linkage can be null, while | Duncan Sands | 2007-09-19 | 1 | -2/+6 |
| | | | | | | | an alias could alias such a global variable. llvm-svn: 42130 | ||||
| * | Relax loop ExitCondition predicate restriction. | Devang Patel | 2007-09-19 | 1 | -5/+7 |
| | | | | | llvm-svn: 42122 | ||||
| * | Filter loops where split condition's false branch is not empty. For example | Devang Patel | 2007-09-19 | 1 | -0/+4 |
| | | | | | | | | | | | | for (int i = 0; i < N; ++i) { if (i == somevalue) dosomething(); else dosomethingelse(); } llvm-svn: 42121 | ||||
| * | Bail out early, before modifying anything. | Devang Patel | 2007-09-19 | 1 | -4/+5 |
| | | | | | llvm-svn: 42120 | ||||
| * | Work is incomplete. Loop is not modified at all right now. | Devang Patel | 2007-09-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 42119 | ||||
| * | Fix PR1657 | Devang Patel | 2007-09-18 | 1 | -0/+8 |
| | | | | | llvm-svn: 42075 | ||||
| * | Do not eliminate loop when it is invalid to do so. For example, | Devang Patel | 2007-09-17 | 1 | -14/+35 |
| | | | | | | | | | | | | | | | for(int i = 0; i < N; i++) { if ( i == XYZ) { A; else B; } C; D; } llvm-svn: 42058 | ||||
| * | Skeleton for transformations to truncate loop's iteration space. | Devang Patel | 2007-09-17 | 1 | -2/+198 |
| | | | | | llvm-svn: 42054 | ||||
| * | Fix comment. | Devang Patel | 2007-09-17 | 1 | -1/+1 |
| | | | | | llvm-svn: 42048 | ||||
| * | Merge DenseMapKeyInfo & DenseMapValueInfo into DenseMapInfo | Chris Lattner | 2007-09-17 | 3 | -9/+19 |
| | | | | | | | | Add a new DenseMapInfo::isEqual method to allow clients to redefine the equality predicate used when probing the hash table. llvm-svn: 42042 | ||||
| * | Instcombine x-((x/y)*y) into a remainder operator. | Dan Gohman | 2007-09-17 | 1 | -1/+12 |
| | | | | | llvm-svn: 42035 | ||||
| * | Factor the trampoline transformation into a subroutine. | Duncan Sands | 2007-09-17 | 1 | -137/+148 |
| | | | | | llvm-svn: 42021 | ||||
| * | Be more careful when constant-folding PHI nodes. | Owen Anderson | 2007-09-16 | 1 | -1/+16 |
| | | | | | llvm-svn: 41998 | ||||
| * | Remove RLE. It is subsumed by GVN. | Owen Anderson | 2007-09-14 | 1 | -135/+0 |
| | | | | | llvm-svn: 41968 | ||||
| * | Remove the assumption that FP's are either float or | Dale Johannesen | 2007-09-14 | 1 | -3/+6 |
| | | | | | | | | | | | | | | double from some of the many places in the optimizers it appears, and do something reasonable with x86 long double. Make APInt::dump() public, remove newline, use it to dump ConstantSDNode's. Allow APFloats in FoldingSet. Expand X86 backend handling of long doubles (conversions to/from int, mostly). llvm-svn: 41967 | ||||
| * | Fix a logic error in ValueIsOnlyUsedLocallyOrStoredToOneGlobal that caused | Chris Lattner | 2007-09-14 | 1 | -4/+4 |
| | | | | | | | | miscompilation of 188.ammp. Reject select and bitcast in ValueIsOnlyUsedLocallyOrStoredToOneGlobal because RewriteHeapSROALoadUser can't handle it. llvm-svn: 41950 | ||||
| * | silence a bogus gcc warning. | Chris Lattner | 2007-09-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 41949 | ||||
| * | Temporary reverting r41817 | Bill Wendling | 2007-09-14 | 1 | -15/+5 |
| | | | | | | | | (http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070910/053370.html). It's causing SPASS to fail. llvm-svn: 41938 | ||||
| * | Teach GlobalLoadUsesSimpleEnoughForHeapSRA and the SROA rewriter how to handle | Chris Lattner | 2007-09-13 | 1 | -14/+62 |
| | | | | | | | | a limited form of PHI nodes. This finally fixes PR1639, speeding 179.art up from 7.84s to 3.13s on PPC. llvm-svn: 41933 | ||||
| * | be tolerant of PHI nodes when rewriting heap SROA code. This is a step | Chris Lattner | 2007-09-13 | 1 | -26/+50 |
| | | | | | | | along the way of PR1639 llvm-svn: 41930 | ||||

