summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Fix the remainder shifting in KnuthDiv.Reid Spencer2007-02-241-6/+13
| | | | llvm-svn: 34562
* 1. Fix a bug in fromString for the <= 64bits caseReid Spencer2007-02-241-17/+29
| | | | | | 2. Fix shl when shiftAmount == BitWidth. llvm-svn: 34560
* 1. Fix last bug in KnuthDiv. All divide tests pass up to 1024 bits now.Reid Spencer2007-02-241-63/+55
| | | | | | | | | | 2. Clean up comments, style, coding standards, etc. 3. Simplify a constructor. Extended testing revealed some additional bugs in shifting. I'll fix these tomorrow. llvm-svn: 34559
* Improve documentation.Reid Spencer2007-02-241-12/+16
| | | | | | Make divide function internal (it was briefly external for testing). llvm-svn: 34557
* Deal with cases when MMI is not requested.Jim Laskey2007-02-241-0/+14
| | | | llvm-svn: 34556
* Drop unused operand.Jim Laskey2007-02-241-2/+0
| | | | llvm-svn: 34555
* 1. Make internal functions take const arguments where they should, justReid Spencer2007-02-241-21/+61
| | | | | | | | | | | | | | to be safe. 2. Make internal functions that return a carry/borrow return bool instead of uint64_t because the carry/borrow can only be in range [0,1]. 3. Assert that the pointers to KnuthDiv are all different so that the result and operands can't overlap. 4. Add debug output to KnuthDiv function. 5. Fix a problem with KnuthDiv by separating the b's complement operation from the subtraction borrow operation. This fixes a wide range of division problems, but alas, not all of them. llvm-svn: 34554
* Added some more information on how to use "delta" to reduce testcases.Bill Wendling2007-02-241-6/+10
| | | | llvm-svn: 34553
* Fix PR1216 by cleaning up the ownership of JITResolver.Chris Lattner2007-02-242-29/+42
| | | | llvm-svn: 34552
* Fix CodeGen/Generic/2007-02-23-DAGCombine-Miscompile.ll and PR1219Chris Lattner2007-02-241-2/+2
| | | | llvm-svn: 34551
* testcase for PR1219Chris Lattner2007-02-241-0/+13
| | | | llvm-svn: 34550
* remove folding set debug outputChris Lattner2007-02-241-4/+0
| | | | llvm-svn: 34549
* Fix Transforms/ConstProp/2007-02-23-sdiv.ll and PR1215Chris Lattner2007-02-241-1/+2
| | | | llvm-svn: 34548
* testcase for pr1215Chris Lattner2007-02-241-0/+5
| | | | llvm-svn: 34547
* Fix InstCombine/2007-02-23-PhiFoldInfLoop.ll and PR1217Chris Lattner2007-02-241-1/+2
| | | | llvm-svn: 34546
* testcase for pr1217Chris Lattner2007-02-241-0/+32
| | | | llvm-svn: 34545
* Refactor the setName stuff, moving it down the inheritance hierarchy, toChris Lattner2007-02-245-213/+240
| | | | | | solve a crash in -instcombine -debug that was hit while investigating PR1217 llvm-svn: 34544
* Make the testcase correct.Bill Wendling2007-02-231-2/+2
| | | | llvm-svn: 34543
* Testcase for PR1164Bill Wendling2007-02-231-0/+13
| | | | llvm-svn: 34542
* PR1164:Bill Wendling2007-02-232-23/+53
| | | | | | | Generate local names with a "llvm_cbe_" prefix using the actual name of the variable instead of a temporary name. llvm-svn: 34540
* Avoid TBAA issue.Chris Lattner2007-02-231-1/+4
| | | | llvm-svn: 34539
* New test - practically wrote itself.Jim Laskey2007-02-231-0/+15
| | | | llvm-svn: 34538
* bugfix: SP wasn't updated for varargs when frame pointer was eliminated.Lauro Ramos Venancio2007-02-232-65/+65
| | | | llvm-svn: 34537
* Reuse extends the liveness of a register. Transfer the kill to the operand ↵Evan Cheng2007-02-231-1/+6
| | | | | | that reuse it. llvm-svn: 34536
* Handle improper cast.Jim Laskey2007-02-231-6/+19
| | | | llvm-svn: 34535
* Handle cases when joining live intervals of two virtual registers.Evan Cheng2007-02-231-7/+17
| | | | llvm-svn: 34534
* Don't spill LR as a callee saved register.Jim Laskey2007-02-233-2/+19
| | | | llvm-svn: 34533
* Fix stack alignment in functions with varargs.Lauro Ramos Venancio2007-02-232-2/+25
| | | | llvm-svn: 34532
* fix an obscure and tricky bug the inliner can hit sometimes.Chris Lattner2007-02-231-1/+1
| | | | llvm-svn: 34531
* fix this testcaseChris Lattner2007-02-231-1/+2
| | | | llvm-svn: 34530
* crtend is only for llvm-gcc3, remove it.Chris Lattner2007-02-2311-485/+1
| | | | llvm-svn: 34529
* Fix thinko.Devang Patel2007-02-231-1/+2
| | | | llvm-svn: 34528
* Loop passes are set up to accept pointer.Devang Patel2007-02-232-2/+2
| | | | llvm-svn: 34527
* Mark livein registers as being in used.Evan Cheng2007-02-231-0/+6
| | | | llvm-svn: 34525
* clarify.Chris Lattner2007-02-231-4/+4
| | | | llvm-svn: 34524
* rewrite of constant islandsDale Johannesen2007-02-232-87/+276
| | | | llvm-svn: 34523
* -march=arm -enable-thumb => -march=thumbEvan Cheng2007-02-2315-40/+40
| | | | llvm-svn: 34522
* Added -march=thumb; removed -enable-thumb.Evan Cheng2007-02-234-20/+36
| | | | llvm-svn: 34521
* 80 col. violation.Evan Cheng2007-02-231-1/+2
| | | | llvm-svn: 34520
* External weak linkage is supported by recent binutils on mingw32.Anton Korobeynikov2007-02-232-1/+2
| | | | llvm-svn: 34519
* 1. Fix a carry out problem in add if destination and x point to the sameReid Spencer2007-02-231-92/+43
| | | | | | | | | memory (as done in fromString). 2. Implement Knuth divide more closely to what is recommended in his book. 3. Fix computation of the remainder for Knuth Divide (bad shifting). 4. Remove some cruft from the file llvm-svn: 34518
* A spill kills the register being stored. But it is later being reused by ↵Evan Cheng2007-02-231-25/+39
| | | | | | spiller, its live range has to be extended. llvm-svn: 34517
* First potential client of register scavenger.Evan Cheng2007-02-231-4/+13
| | | | llvm-svn: 34516
* By default, spills kills the register being stored.Evan Cheng2007-02-235-27/+32
| | | | llvm-svn: 34515
* Add option to turn on register scavenger; By default, spills kills the ↵Evan Cheng2007-02-232-6/+20
| | | | | | register being stored. llvm-svn: 34514
* Temporay hook to enable register scavening for specific targets only.Evan Cheng2007-02-231-0/+6
| | | | llvm-svn: 34513
* Use findRegisterUseOperand to find a kill of particular register.Evan Cheng2007-02-232-5/+8
| | | | llvm-svn: 34512
* Initial check in of register scavenger. Its only current functionality is ↵Evan Cheng2007-02-232-0/+215
| | | | | | tracking live registers per MBB. llvm-svn: 34511
* Teach LoopPass to assign itself one Loop Pass Manager.Devang Patel2007-02-232-0/+45
| | | | llvm-svn: 34510
* Add facility that allows LoopPass to re-insert a loop intoDevang Patel2007-02-232-1/+19
| | | | | | Loop Pass Manager's queue. llvm-svn: 34509
OpenPOWER on IntegriCloud