summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix shl to produce the correct result when the bitwidth is > 64 and theReid Spencer2007-05-121-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 Spencer2007-05-121-11/+13
| | | | llvm-svn: 37006
* allow partially materialized modules to be written out, which just strips outChris Lattner2007-05-111-0/+1
| | | | | | the functions which haven't been read. llvm-svn: 36999
* Fix ↵Devang Patel2007-05-111-1/+1
| | | | | | http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049516.html llvm-svn: 36998
* significantly improve debug output of lsrChris Lattner2007-05-111-6/+13
| | | | llvm-svn: 36996
* Update comments to say "vector" instead of "packed".Dan Gohman2007-05-111-10/+10
| | | | llvm-svn: 36995
* Fix typos.Dan Gohman2007-05-113-4/+4
| | | | llvm-svn: 36994
* This patch extends the LoopUnroll pass to be able to unroll loopsDan Gohman2007-05-111-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, includingChris Lattner2007-05-111-2/+2
| | | | | | Transforms/InstCombine/2006-12-08-ICmp-Combining.ll llvm-svn: 36989
* Perform correct actions numbers/sizes computationAnton Korobeynikov2007-05-111-5/+3
| | | | llvm-svn: 36988
* Fix action No calculation in multiple-invoke-one-LP modeAnton Korobeynikov2007-05-111-31/+31
| | | | llvm-svn: 36987
* fix Transforms/InstCombine/2007-05-10-icmp-or.llChris Lattner2007-05-111-5/+10
| | | | llvm-svn: 36984
* fix a memory leakChris Lattner2007-05-111-1/+1
| | | | llvm-svn: 36981
* Fix a bug where the bcreader could crash on .bc files that were an exactChris Lattner2007-05-111-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 suiteDale Johannesen2007-05-101-4/+19
| | | | | | failures on PPC (can happen only when prologue code is null) llvm-svn: 36979
* Ooops. Some debugging stuff :)Anton Korobeynikov2007-05-101-1/+0
| | | | llvm-svn: 36978
* Allow multiple invokes per landing pad. This (probably) fixes PR1410.Anton Korobeynikov2007-05-102-57/+75
| | | | llvm-svn: 36977
* Later computations assume we are aligned at this point.Duncan Sands2007-05-101-2/+3
| | | | llvm-svn: 36975
* TypeIds are indexed by j, not iAnton Korobeynikov2007-05-101-1/+1
| | | | llvm-svn: 36974
* Make tail merging handle many more cases (all it can, I think).Dale Johannesen2007-05-101-32/+91
| | | | llvm-svn: 36966
* add some notesChris Lattner2007-05-101-0/+28
| | | | llvm-svn: 36965
* Can't fold the bit_convert is the store is a truncating store.Evan Cheng2007-05-091-2/+2
| | | | llvm-svn: 36962
* Do not assert, when case range split metric is zero and JTs are not allowed: ↵Anton Korobeynikov2007-05-091-5/+12
| | | | | | | | just emit binary tree in this case. This fixes PR1403. llvm-svn: 36959
* Fix PR1333Devang Patel2007-05-091-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 Cheng2007-05-084-17/+22
| | | | llvm-svn: 36948
* PredicateOperand can be used as a normal operand for isel.Evan Cheng2007-05-082-2/+2
| | | | llvm-svn: 36947
* Change names from RA to something unique to get rid of naming conflicts withBill Wendling2007-05-082-38/+42
| | | | | | certain linkers... llvm-svn: 36944
* Eliminate MarkVirtRegAliveInBlock recursion.Evan Cheng2007-05-081-4/+17
| | | | llvm-svn: 36943
* R0 is a sub-register of X0, etc.Evan Cheng2007-05-081-3/+3
| | | | llvm-svn: 36939
* Fix various whitespace inconsistencies.Dan Gohman2007-05-081-10/+10
| | | | llvm-svn: 36936
* Correct the comment for ApproximateLoopSize to reflect what it actually does.Dan Gohman2007-05-081-2/+1
| | | | llvm-svn: 36935
* Make a preemptive bitcode format change to support PR1146. This lets us doChris Lattner2007-05-082-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 Johannesen2007-05-081-1/+3
| | | | llvm-svn: 36917
* Fix PR1390 in a better way.Lauro Ramos Venancio2007-05-071-12/+41
| | | | llvm-svn: 36916
* Forgot a check.Evan Cheng2007-05-071-1/+1
| | | | llvm-svn: 36910
* This is no longer needed after enabling the DAG combiner xform.Evan Cheng2007-05-071-5/+0
| | | | llvm-svn: 36909
* Enable a couple of xforms:Evan Cheng2007-05-071-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 Johannesen2007-05-071-11/+81
| | | | llvm-svn: 36907
* Parameter attributes on invoke calls were being lost due to the wrongDuncan Sands2007-05-071-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 Cohen2007-05-071-0/+2
| | | | llvm-svn: 36901
* Enhance MemoryBuffer to return error messages in strings if they occur.Chris Lattner2007-05-061-7/+11
| | | | llvm-svn: 36899
* Fix PR1395, by passing the ID correctlyChris Lattner2007-05-063-5/+4
| | | | llvm-svn: 36894
* add this backChris Lattner2007-05-061-0/+1
| | | | llvm-svn: 36892
* DetabifyAnton Korobeynikov2007-05-061-1/+1
| | | | llvm-svn: 36891
* Update MSIL BE. This patch fixes most weird glitches outlined inAnton Korobeynikov2007-05-063-145/+446
| | | | | | README.txt. Patch by Roman Samoilov! llvm-svn: 36890
* lib/Bytecode is deadChris Lattner2007-05-061-14/+0
| | | | llvm-svn: 36889
* move this to lib/ArchiveChris Lattner2007-05-065-1486/+0
| | | | llvm-svn: 36888
* build lib/Archive instead of lib/BytecodeChris Lattner2007-05-061-1/+1
| | | | llvm-svn: 36887
* adjust this to live in lib/ArchiveChris Lattner2007-05-065-0/+1486
| | | | llvm-svn: 36886
* remove bytecode readerChris Lattner2007-05-065-3646/+0
| | | | llvm-svn: 36882
OpenPOWER on IntegriCloud