Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Validate file id. | Devang Patel | 2009-02-10 | 1 | -0/+3 |
| | | | | llvm-svn: 64204 | ||||
* | Function temporaries can not overlap with retval or args.See the comment in ↵ | Sanjiv Gupta | 2009-02-10 | 1 | -8/+20 |
| | | | | | | source code to know the reason. Anything having .auto. in its name is local to a function in nature irrespective of the linkage specified. print static local variables in module level IDATA section. llvm-svn: 64199 | ||||
* | Implement FpSET_ST1_*. | Evan Cheng | 2009-02-09 | 3 | -6/+27 |
| | | | | llvm-svn: 64186 | ||||
* | If the target cannot issue a copy for the given source and dest registers, ↵ | Evan Cheng | 2009-02-09 | 1 | -5/+10 |
| | | | | | | abort instead of silently continue. llvm-svn: 64184 | ||||
* | Fix PR 3471, and some cleanups. | Dale Johannesen | 2009-02-09 | 1 | -17/+32 |
| | | | | llvm-svn: 64177 | ||||
* | Simplify code. | Evan Cheng | 2009-02-09 | 1 | -5/+6 |
| | | | | llvm-svn: 64164 | ||||
* | Make sure constant subscript is truncated to ptr size if it may not fit. | Evan Cheng | 2009-02-09 | 1 | -1/+8 |
| | | | | llvm-svn: 64163 | ||||
* | Use doxygen comment syntax. | Dan Gohman | 2009-02-09 | 1 | -4/+4 |
| | | | | llvm-svn: 64150 | ||||
* | Use slightly more correct grammar in error messages. | Dan Gohman | 2009-02-09 | 1 | -2/+2 |
| | | | | llvm-svn: 64148 | ||||
* | make sure that BranchInst::getSuccessor() does not assert in cast<> | Gabor Greif | 2009-02-09 | 1 | -4/+5 |
| | | | | | | | | | 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. llvm-svn: 64142 | ||||
* | Re-enable machine sinking pass now that the coalescer bugs and the ↵ | Evan Cheng | 2009-02-09 | 1 | -8/+2 |
| | | | | | | AnalyzeBrnach bug are fixed. llvm-svn: 64126 | ||||
* | Fix another case ShortenDeadCopySrcLiveRange is shortening too much. No test ↵ | Evan Cheng | 2009-02-09 | 1 | -6/+13 |
| | | | | | | case possible since I don't know what to grep for. :-( llvm-svn: 64125 | ||||
* | Turns out AnalyzeBranch can modify the mbb being analyzed. This is a nasty | Evan Cheng | 2009-02-09 | 15 | -29/+55 |
| | | | | | | | | 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. llvm-svn: 64124 | ||||
* | Add a Sleep() function. | Mikhail Glushenkov | 2009-02-08 | 2 | -0/+8 |
| | | | | llvm-svn: 64101 | ||||
* | Add Emacs hints to Alarm.inc. | Mikhail Glushenkov | 2009-02-08 | 3 | -8/+8 |
| | | | | | | Also removes some trailing whitespace and fixes one 80-column violation. llvm-svn: 64094 | ||||
* | add a note. | Chris Lattner | 2009-02-08 | 1 | -0/+31 |
| | | | | llvm-svn: 64093 | ||||
* | fix typo | Chris Lattner | 2009-02-08 | 1 | -1/+1 |
| | | | | llvm-svn: 64091 | ||||
* | reject void pointers with a nice error: | Chris Lattner | 2009-02-08 | 1 | -1/+5 |
| | | | | | | | | | | llvm-as: t.ll:2:15: pointers to void are invalid, use i8* instead %X = type void* ^ instead of asserting and dying. llvm-svn: 64089 | ||||
* | Fix PR3486. Fix a bug in code that manually patch physical register live ↵ | Evan Cheng | 2009-02-08 | 2 | -16/+34 |
| | | | | | | interval after its sub-register is coalesced with a virtual register. llvm-svn: 64082 | ||||
* | Strengthen the previous check. | Evan Cheng | 2009-02-08 | 1 | -4/+5 |
| | | | | llvm-svn: 64076 | ||||
* | r64073 commit message is lost. Here it is: | Evan Cheng | 2009-02-08 | 1 | -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. llvm-svn: 64075 | ||||
* | (no commit message) | Evan Cheng | 2009-02-08 | 1 | -3/+10 |
| | | | | llvm-svn: 64073 | ||||
* | Mistakenly turned this on. | Bill Wendling | 2009-02-08 | 1 | -1/+1 |
| | | | | llvm-svn: 64065 | ||||
* | Revert r63999. It was breaking self-hosting builds. | Bill Wendling | 2009-02-08 | 2 | -3/+9 |
| | | | | llvm-svn: 64062 | ||||
* | Add missing break statements, fixing PR3503. | Chris Lattner | 2009-02-07 | 1 | -8/+11 |
| | | | | llvm-svn: 64040 | ||||
* | Instrcombine should not change load(cast p) to cast(load p) if the cast | Mon P Wang | 2009-02-07 | 1 | -1/+7 |
| | | | | | | changes the address space of the pointer. llvm-svn: 64035 | ||||
* | Use getDebugLoc forwarder instead of getNode()->getDebugLoc. | Dale Johannesen | 2009-02-07 | 12 | -79/+79 |
| | | | | | | No functional change. llvm-svn: 64026 | ||||
* | Constify TargetInstrInfo::EmitInstrWithCustomInserter, allowing | Dan Gohman | 2009-02-07 | 17 | -28/+27 |
| | | | | | | ScheduleDAG's TLI member to use const. llvm-svn: 64018 | ||||
* | Add an API for strings with possible NULLs in the middle. Refactor the other | Nick Lewycky | 2009-02-07 | 1 | -37/+8 |
| | | | | | | two AddString methods to use it. llvm-svn: 64005 | ||||
* | Insert space to avoid warning and make code more readable. | Mike Stump | 2009-02-07 | 1 | -2/+2 |
| | | | | llvm-svn: 64003 | ||||
* | Make SDNode constructors take a DebugLoc always. | Dale Johannesen | 2009-02-07 | 1 | -36/+4 |
| | | | | | | | | | Adjust derived classes to pass UnknownLoc where a DebugLoc does not make sense. Pick one of DebugLoc and non-DebugLoc variants to survive for all such classes. llvm-svn: 64000 | ||||
* | Enable machine sinking pass in non-fast mode. | Evan Cheng | 2009-02-07 | 1 | -8/+2 |
| | | | | llvm-svn: 63999 | ||||
* | Remove now-unused constructors. | Dale Johannesen | 2009-02-07 | 1 | -21/+0 |
| | | | | llvm-svn: 63995 | ||||
* | Don't sink the instruction if TargetRegisterInfo::isSafeToMoveRegClassDefs ↵ | Evan Cheng | 2009-02-07 | 1 | -0/+4 |
| | | | | | | doesn't think it's safe. This works around PR1911. llvm-svn: 63994 | ||||
* | Needs this file too. | Dale Johannesen | 2009-02-07 | 1 | -1/+1 |
| | | | | llvm-svn: 63993 | ||||
* | Get rid of the last non-DebugLoc versions of getNode! | Dale Johannesen | 2009-02-07 | 15 | -81/+97 |
| | | | | | | | | | | | | Many targets build placeholder nodes for special operands, e.g. GlobalBaseReg on X86 and PPC for the PIC base. There's no sensible way to associate debug info with these. I've left them built with getNode calls with explicit DebugLoc::getUnknownLoc operands. I'm not too happy about this but don't see a good improvement; I considered adding a getPseudoOperand or something, but it seems to me that'll just make it harder to read. llvm-svn: 63992 | ||||
* | Refactor some repeated logic into a separate function. | Dan Gohman | 2009-02-07 | 1 | -2/+7 |
| | | | | llvm-svn: 63989 | ||||
* | Make a comment a doxygen comment. | Dan Gohman | 2009-02-07 | 1 | -4/+4 |
| | | | | llvm-svn: 63988 | ||||
* | Remove more non-DebugLoc getNode variants. Use | Dale Johannesen | 2009-02-06 | 13 | -180/+141 |
| | | | | | | | | getCALLSEQ_{END,START} to permit passing no DebugLoc there. UNDEF doesn't logically have DebugLoc; add getUNDEF to encapsulate this. llvm-svn: 63978 | ||||
* | And one more file. | Dale Johannesen | 2009-02-06 | 1 | -3/+4 |
| | | | | llvm-svn: 63971 | ||||
* | Remove more non-DebugLoc versions of getNode. | Dale Johannesen | 2009-02-06 | 14 | -203/+251 |
| | | | | llvm-svn: 63969 | ||||
* | Record debug location information in the Dwarf writer. | Bill Wendling | 2009-02-06 | 2 | -2/+16 |
| | | | | | | A simple test program shows that debugging works. :-) llvm-svn: 63968 | ||||
* | Clear out the CurDebugLoc info when doing a 'clear' on the SDL object. | Bill Wendling | 2009-02-06 | 1 | -0/+1 |
| | | | | llvm-svn: 63967 | ||||
* | Split the locking out of JIT::runJITOnFunction so that callers | Dan Gohman | 2009-02-06 | 2 | -5/+9 |
| | | | | | | | that already hold the lock can call an entry point that doesn't re-acquire the lock. llvm-svn: 63965 | ||||
* | Use .size and .type on ELF systems; this helps tools that map | Dan Gohman | 2009-02-06 | 1 | -3/+19 |
| | | | | | | addresses to symbols. llvm-svn: 63962 | ||||
* | Eliminate remaining non-DebugLoc version of getTargetNode. | Dale Johannesen | 2009-02-06 | 5 | -64/+31 |
| | | | | llvm-svn: 63951 | ||||
* | Rename SelectionDAGISel::Schedule to | Dan Gohman | 2009-02-06 | 1 | -11/+8 |
| | | | | | | | | | SelectionDAGISel::CreateScheduler, and make it just create the scheduler. Leave running the scheduler to the higher-level code. This makes the higher-level code a little more explicit and easier to follow, and will help enable some future refactoring. llvm-svn: 63944 | ||||
* | Print globl directive for variables with external linkage (global variables). | Sanjiv Gupta | 2009-02-06 | 1 | -0/+2 |
| | | | | llvm-svn: 63943 | ||||
* | Delete an unused member function. | Dan Gohman | 2009-02-06 | 1 | -2/+0 |
| | | | | llvm-svn: 63941 | ||||
* | Move getPointerRegClass from TargetInstrInfo to TargetRegisterInfo. | Evan Cheng | 2009-02-06 | 18 | -60/+58 |
| | | | | llvm-svn: 63938 |