Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix shl to produce the correct result when the bitwidth is > 64 and the | Reid Spencer | 2007-05-12 | 1 | -0/+6 |
| | | | | | | | shift amount is 0. Previously this code would do a lshr by the bit width which can lead to incorrect results. llvm-svn: 37010 | ||||
* | Get the size of auto arrays right, regardless of its changing size. | Reid Spencer | 2007-05-12 | 1 | -11/+13 |
| | | | | llvm-svn: 37006 | ||||
* | allow partially materialized modules to be written out, which just strips out | Chris Lattner | 2007-05-11 | 1 | -0/+1 |
| | | | | | | the functions which haven't been read. llvm-svn: 36999 | ||||
* | Fix ↵ | Devang Patel | 2007-05-11 | 1 | -1/+1 |
| | | | | | | http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049516.html llvm-svn: 36998 | ||||
* | significantly improve debug output of lsr | Chris Lattner | 2007-05-11 | 1 | -6/+13 |
| | | | | llvm-svn: 36996 | ||||
* | Update comments to say "vector" instead of "packed". | Dan Gohman | 2007-05-11 | 1 | -10/+10 |
| | | | | llvm-svn: 36995 | ||||
* | Fix typos. | Dan Gohman | 2007-05-11 | 3 | -4/+4 |
| | | | | llvm-svn: 36994 | ||||
* | This patch extends the LoopUnroll pass to be able to unroll loops | Dan Gohman | 2007-05-11 | 1 | -58/+193 |
| | | | | | | | | | | | | | | | | | with unknown trip counts. This is left off by default, and a command-line option enables it. It also begins to separate loop unrolling into a utility routine; eventually it might be made usable from other passes. It currently works by inserting conditional branches between each unrolled iteration, unless it proves that the trip count is a multiple of a constant integer > 1, which it currently only does in the rare case that the trip count expression is a Mul operator with a ConstantInt operand. Eventually this information might be provided by other sources, for example by a pass that peels/splits the loop for this purpose. llvm-svn: 36990 | ||||
* | fix regressions from my previous checking, including | Chris Lattner | 2007-05-11 | 1 | -2/+2 |
| | | | | | | Transforms/InstCombine/2006-12-08-ICmp-Combining.ll llvm-svn: 36989 | ||||
* | Perform correct actions numbers/sizes computation | Anton Korobeynikov | 2007-05-11 | 1 | -5/+3 |
| | | | | llvm-svn: 36988 | ||||
* | Fix action No calculation in multiple-invoke-one-LP mode | Anton Korobeynikov | 2007-05-11 | 1 | -31/+31 |
| | | | | llvm-svn: 36987 | ||||
* | fix Transforms/InstCombine/2007-05-10-icmp-or.ll | Chris Lattner | 2007-05-11 | 1 | -5/+10 |
| | | | | llvm-svn: 36984 | ||||
* | fix a memory leak | Chris Lattner | 2007-05-11 | 1 | -1/+1 |
| | | | | llvm-svn: 36981 | ||||
* | Fix a bug where the bcreader could crash on .bc files that were an exact | Chris Lattner | 2007-05-11 | 1 | -0/+1 |
| | | | | | | multiple of the page size, due to a bug in MappedFile llvm-svn: 36980 | ||||
* | Do not generate branches to entry block. This fixes several test suite | Dale Johannesen | 2007-05-10 | 1 | -4/+19 |
| | | | | | | failures on PPC (can happen only when prologue code is null) llvm-svn: 36979 | ||||
* | Ooops. Some debugging stuff :) | Anton Korobeynikov | 2007-05-10 | 1 | -1/+0 |
| | | | | llvm-svn: 36978 | ||||
* | Allow multiple invokes per landing pad. This (probably) fixes PR1410. | Anton Korobeynikov | 2007-05-10 | 2 | -57/+75 |
| | | | | llvm-svn: 36977 | ||||
* | Later computations assume we are aligned at this point. | Duncan Sands | 2007-05-10 | 1 | -2/+3 |
| | | | | llvm-svn: 36975 | ||||
* | TypeIds are indexed by j, not i | Anton Korobeynikov | 2007-05-10 | 1 | -1/+1 |
| | | | | llvm-svn: 36974 | ||||
* | Make tail merging handle many more cases (all it can, I think). | Dale Johannesen | 2007-05-10 | 1 | -32/+91 |
| | | | | llvm-svn: 36966 | ||||
* | add some notes | Chris Lattner | 2007-05-10 | 1 | -0/+28 |
| | | | | llvm-svn: 36965 | ||||
* | Can't fold the bit_convert is the store is a truncating store. | Evan Cheng | 2007-05-09 | 1 | -2/+2 |
| | | | | llvm-svn: 36962 | ||||
* | Do not assert, when case range split metric is zero and JTs are not allowed: ↵ | Anton Korobeynikov | 2007-05-09 | 1 | -5/+12 |
| | | | | | | | | just emit binary tree in this case. This fixes PR1403. llvm-svn: 36959 | ||||
* | Fix PR1333 | Devang Patel | 2007-05-09 | 1 | -5/+25 |
| | | | | | | | | Testcases : http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049451.html http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049452.html llvm-svn: 36955 | ||||
* | Switch BCC, MOVCCr, etc. to PredicateOperand. | Evan Cheng | 2007-05-08 | 4 | -17/+22 |
| | | | | llvm-svn: 36948 | ||||
* | PredicateOperand can be used as a normal operand for isel. | Evan Cheng | 2007-05-08 | 2 | -2/+2 |
| | | | | llvm-svn: 36947 | ||||
* | Change names from RA to something unique to get rid of naming conflicts with | Bill Wendling | 2007-05-08 | 2 | -38/+42 |
| | | | | | | certain linkers... llvm-svn: 36944 | ||||
* | Eliminate MarkVirtRegAliveInBlock recursion. | Evan Cheng | 2007-05-08 | 1 | -4/+17 |
| | | | | llvm-svn: 36943 | ||||
* | R0 is a sub-register of X0, etc. | Evan Cheng | 2007-05-08 | 1 | -3/+3 |
| | | | | llvm-svn: 36939 | ||||
* | Fix various whitespace inconsistencies. | Dan Gohman | 2007-05-08 | 1 | -10/+10 |
| | | | | llvm-svn: 36936 | ||||
* | Correct the comment for ApproximateLoopSize to reflect what it actually does. | Dan Gohman | 2007-05-08 | 1 | -2/+1 |
| | | | | llvm-svn: 36935 | ||||
* | Make a preemptive bitcode format change to support PR1146. This lets us do | Chris Lattner | 2007-05-08 | 2 | -20/+48 |
| | | | | | | | pr1146 in llvm 2.1 without ugly code to emulate old behavior. This should be merged into the 2.0 release branch. llvm-svn: 36928 | ||||
* | Don't generate branch to entry block. | Dale Johannesen | 2007-05-08 | 1 | -1/+3 |
| | | | | llvm-svn: 36917 | ||||
* | Fix PR1390 in a better way. | Lauro Ramos Venancio | 2007-05-07 | 1 | -12/+41 |
| | | | | llvm-svn: 36916 | ||||
* | Forgot a check. | Evan Cheng | 2007-05-07 | 1 | -1/+1 |
| | | | | llvm-svn: 36910 | ||||
* | This is no longer needed after enabling the DAG combiner xform. | Evan Cheng | 2007-05-07 | 1 | -5/+0 |
| | | | | llvm-svn: 36909 | ||||
* | Enable a couple of xforms: | Evan Cheng | 2007-05-07 | 1 | -16/+27 |
| | | | | | | | | | - (store (bitconvert v)) -> (store v) if resultant store does not require higher alignment - (bitconvert (load v)) -> (load (bitconvert*)v) if resultant load does not require higher alignment llvm-svn: 36908 | ||||
* | Handle some non-exit blocks in tail merging. | Dale Johannesen | 2007-05-07 | 1 | -11/+81 |
| | | | | llvm-svn: 36907 | ||||
* | Parameter attributes on invoke calls were being lost due to the wrong | Duncan Sands | 2007-05-07 | 1 | -4/+6 |
| | | | | | | | attribute index being used. Fix proposed by Anton Korobeynikov, who asked me to implement and commit it for him. This is PR1398. llvm-svn: 36906 | ||||
* | Unbreak VC++ build. | Jeff Cohen | 2007-05-07 | 1 | -0/+2 |
| | | | | llvm-svn: 36901 | ||||
* | Enhance MemoryBuffer to return error messages in strings if they occur. | Chris Lattner | 2007-05-06 | 1 | -7/+11 |
| | | | | llvm-svn: 36899 | ||||
* | Fix PR1395, by passing the ID correctly | Chris Lattner | 2007-05-06 | 3 | -5/+4 |
| | | | | llvm-svn: 36894 | ||||
* | add this back | Chris Lattner | 2007-05-06 | 1 | -0/+1 |
| | | | | llvm-svn: 36892 | ||||
* | Detabify | Anton Korobeynikov | 2007-05-06 | 1 | -1/+1 |
| | | | | llvm-svn: 36891 | ||||
* | Update MSIL BE. This patch fixes most weird glitches outlined in | Anton Korobeynikov | 2007-05-06 | 3 | -145/+446 |
| | | | | | | README.txt. Patch by Roman Samoilov! llvm-svn: 36890 | ||||
* | lib/Bytecode is dead | Chris Lattner | 2007-05-06 | 1 | -14/+0 |
| | | | | llvm-svn: 36889 | ||||
* | move this to lib/Archive | Chris Lattner | 2007-05-06 | 5 | -1486/+0 |
| | | | | llvm-svn: 36888 | ||||
* | build lib/Archive instead of lib/Bytecode | Chris Lattner | 2007-05-06 | 1 | -1/+1 |
| | | | | llvm-svn: 36887 | ||||
* | adjust this to live in lib/Archive | Chris Lattner | 2007-05-06 | 5 | -0/+1486 |
| | | | | llvm-svn: 36886 | ||||
* | remove bytecode reader | Chris Lattner | 2007-05-06 | 5 | -3646/+0 |
| | | | | llvm-svn: 36882 |