aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make sure constant subscript is truncated to ptr size if it may not fit.Evan Cheng2009-02-092-1/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64163 91177308-0d34-0410-b5e6-96231b3b80d8
* incorporate review feedbackGabor Greif2009-02-091-3/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64158 91177308-0d34-0410-b5e6-96231b3b80d8
* Use doxygen comment syntax.Dan Gohman2009-02-091-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64150 91177308-0d34-0410-b5e6-96231b3b80d8
* Use slightly more correct grammar in error messages.Dan Gohman2009-02-091-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64148 91177308-0d34-0410-b5e6-96231b3b80d8
* 80-column violations.Mikhail Glushenkov2009-02-092-104/+107
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64147 91177308-0d34-0410-b5e6-96231b3b80d8
* make sure that BranchInst::getSuccessor() does not assert in cast<>Gabor Greif2009-02-092-5/+8
| | | | | | | | | even if the underlying operand is NULL. This may happen in debugging context within opt with partial loop unrolling (see test/Transforms/LoopUnroll/partial.ll). After this fix I can resubmit the (backed out) r63459: * lib/VMCore/AsmWriter.cpp: use precise accessors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64142 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix comment.Bill Wendling2009-02-091-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64137 91177308-0d34-0410-b5e6-96231b3b80d8
* These function return 'void'. Don't have 'return' return anything.Bill Wendling2009-02-092-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64136 91177308-0d34-0410-b5e6-96231b3b80d8
* fix typo, patch by Jonathan Brandmeyer!Chris Lattner2009-02-091-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64132 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for PR2437.Duncan Sands2009-02-091-0/+32
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64131 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-enable machine sinking pass now that the coalescer bugs and the ↵Evan Cheng2009-02-094-11/+5
| | | | | | AnalyzeBrnach bug are fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64126 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix another case ShortenDeadCopySrcLiveRange is shortening too much. No test ↵Evan Cheng2009-02-091-6/+13
| | | | | | case possible since I don't know what to grep for. :-( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64125 91177308-0d34-0410-b5e6-96231b3b80d8
* Turns out AnalyzeBranch can modify the mbb being analyzed. This is a nastyEvan Cheng2009-02-0916-30/+60
| | | | | | | | | suprise to some callers, e.g. register coalescer. For now, add an parameter that tells AnalyzeBranch whether it's safe to modify the mbb. A better solution is out there, but I don't have time to deal with it right now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64124 91177308-0d34-0410-b5e6-96231b3b80d8
* Strip the LTO dylib.Bill Wendling2009-02-091-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64119 91177308-0d34-0410-b5e6-96231b3b80d8
* Small fix for the 'strip' command. Do a list of .so files.Bill Wendling2009-02-091-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64112 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate a 'control reaches end of non-void function' warning.Evan Cheng2009-02-091-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64111 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't run 'strip' on files that aren't there.Bill Wendling2009-02-091-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64108 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove warnings about not being able to delete something. Don't run lipo on ↵Bill Wendling2009-02-091-4/+7
| | | | | | gccas, gccld, and llvm-config scripts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64107 91177308-0d34-0410-b5e6-96231b3b80d8
* mention rdynamic, PR3431, patch by Stein Roger Skafløtten!Chris Lattner2009-02-091-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64106 91177308-0d34-0410-b5e6-96231b3b80d8
* Document llvm.umul.with.overflow indicating that it's badly broken and not ↵Bill Wendling2009-02-081-0/+54
| | | | | | intended for use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64104 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename dg.exp to llvmc.exp. This is so I can ignore it during a make check ↵Bill Wendling2009-02-081-0/+0
| | | | | | if I want to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64103 91177308-0d34-0410-b5e6-96231b3b80d8
* 80-column violation.Mikhail Glushenkov2009-02-081-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64102 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a Sleep() function.Mikhail Glushenkov2009-02-083-5/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64101 91177308-0d34-0410-b5e6-96231b3b80d8
* I can't type today apparently.Chris Lattner2009-02-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64097 91177308-0d34-0410-b5e6-96231b3b80d8
* Add Emacs hints to Alarm.inc.Mikhail Glushenkov2009-02-083-8/+8
| | | | | | Also removes some trailing whitespace and fixes one 80-column violation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64094 91177308-0d34-0410-b5e6-96231b3b80d8
* add a note.Chris Lattner2009-02-081-0/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64093 91177308-0d34-0410-b5e6-96231b3b80d8
* fix typoChris Lattner2009-02-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64091 91177308-0d34-0410-b5e6-96231b3b80d8
* fix typoChris Lattner2009-02-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64090 91177308-0d34-0410-b5e6-96231b3b80d8
* reject void pointers with a nice error:Chris Lattner2009-02-081-1/+5
| | | | | | | | | | | | llvm-as: t.ll:2:15: pointers to void are invalid, use i8* instead %X = type void* ^ instead of asserting and dying. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64089 91177308-0d34-0410-b5e6-96231b3b80d8
* document pointer type constraints, PR3513Chris Lattner2009-02-081-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64088 91177308-0d34-0410-b5e6-96231b3b80d8
* The 'false.c' test must depend on llvm-g++.Mikhail Glushenkov2009-02-082-11/+26
| | | | | | | Also, turn on Objective-C/C++ tests. This should fix http://llvm.org/bugs/show_bug.cgi?id=3499. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64084 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR3486. Fix a bug in code that manually patch physical register live ↵Evan Cheng2009-02-084-16/+60
| | | | | | interval after its sub-register is coalesced with a virtual register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64082 91177308-0d34-0410-b5e6-96231b3b80d8
* Strengthen the previous check.Evan Cheng2009-02-082-13/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64076 91177308-0d34-0410-b5e6-96231b3b80d8
* r64073 commit message is lost. Here it is:Evan Cheng2009-02-081-3/+4
| | | | | | | | | | Right now if the coalesced copy def is dead and its src is a kill, and that there are now other uses within the live range, the coalescer would mark the def of the source register as dead. But it should also check if there are other kills which means the value has other uses not in the live range. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64075 91177308-0d34-0410-b5e6-96231b3b80d8
* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64073 ↵Evan Cheng2009-02-083-3/+514
| | | | 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixes from feedback.Bill Wendling2009-02-081-15/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64070 91177308-0d34-0410-b5e6-96231b3b80d8
* Document the 'llvm.OP.with.overflow' intrinsics.Bill Wendling2009-02-081-3/+259
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64066 91177308-0d34-0410-b5e6-96231b3b80d8
* Mistakenly turned this on.Bill Wendling2009-02-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64065 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r63999. It was breaking self-hosting builds.Bill Wendling2009-02-084-5/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64062 91177308-0d34-0410-b5e6-96231b3b80d8
* testcase for r64049 of llvm-gcc.Chris Lattner2009-02-071-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64050 91177308-0d34-0410-b5e6-96231b3b80d8
* Add missing break statements, fixing PR3503.Chris Lattner2009-02-071-8/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64040 91177308-0d34-0410-b5e6-96231b3b80d8
* Instrcombine should not change load(cast p) to cast(load p) if the castMon P Wang2009-02-072-1/+26
| | | | | | | changes the address space of the pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64035 91177308-0d34-0410-b5e6-96231b3b80d8
* Use getDebugLoc forwarder instead of getNode()->getDebugLoc.Dale Johannesen2009-02-0712-79/+79
| | | | | | | | No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64026 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 64023. make prefers GNUmakefile over makefile.Evan Cheng2009-02-072-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64024 91177308-0d34-0410-b5e6-96231b3b80d8
* Move Apple style build makefiles to the top level. Just like llvmgcc42.Evan Cheng2009-02-072-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64023 91177308-0d34-0410-b5e6-96231b3b80d8
* fix bugpoint url, patch by Pieter de Bie!Chris Lattner2009-02-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64022 91177308-0d34-0410-b5e6-96231b3b80d8
* Constify TargetInstrInfo::EmitInstrWithCustomInserter, allowingDan Gohman2009-02-0719-30/+29
| | | | | | | ScheduleDAG's TLI member to use const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64018 91177308-0d34-0410-b5e6-96231b3b80d8
* Change several SmallPtrSetImpl members from public to protected,Dan Gohman2009-02-071-8/+11
| | | | | | | to make the encapsulation more clear. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64017 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify some code by using blocks_begin(), blocks_end(), andDan Gohman2009-02-071-9/+5
| | | | | | | | the iterator typedefs instead of handling the std::vector directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64016 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an API for strings with possible NULLs in the middle. Refactor the otherNick Lewycky2009-02-072-37/+9
| | | | | | | two AddString methods to use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64005 91177308-0d34-0410-b5e6-96231b3b80d8