summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* inline the bool form of PrintRelDirective away, leaving just the unsigned form.Chris Lattner2010-03-092-9/+4
| | | | llvm-svn: 98106
* eliminate EOL, adding all comments with the OutStreamer.AddComment Chris Lattner2010-03-094-131/+143
| | | | | | | | | | | method. With this, comments should end up on the same lines as the .byte directives (for example) and we now get no output with: $ llc CodeGen/X86/2009-02-12-DebugInfoVLA.ll -o - -filetype=null -asm-verbose woot. llvm-svn: 98105
* Ever more complicated DEBUG_VALUE fixes for branch folding.Dale Johannesen2010-03-091-3/+56
| | | | llvm-svn: 98104
* Avoid analyzing instructions in blocks not reachable from the entry block.Dan Gohman2010-03-092-2/+22
| | | | | | They are lots of trouble, and they don't matter. This fixes PR6559. llvm-svn: 98103
* eliminate a bunch of \n's that are being printed to O. Next up is to killChris Lattner2010-03-092-35/+19
| | | | | | off "EOL". llvm-svn: 98102
* convert the non-"ispcrel" case of EmitReference to MC,Chris Lattner2010-03-091-0/+8
| | | | | | | significant debug info testcases are now all going through MCStreamer, though they print a lot of extraneous newlines to "O". llvm-svn: 98101
* make the NullStreamer set the section on a label when emitted so that ↵Chris Lattner2010-03-091-1/+5
| | | | | | isDefined() works. llvm-svn: 98100
* Try to keep the cached inliner costs around for a bit longer for big functions.Jakob Stoklund Olesen2010-03-096-6/+63
| | | | | | | | | | | | | | | The Caller cost info would be reset everytime a callee was inlined. If the caller has lots of calls and there is some mutual recursion going on, the caller cost info could be calculated many times. This patch reduces inliner runtime from 240s to 0.5s for a function with 20000 small function calls. This is a more conservative version of r98089 that doesn't break the clang test CodeGenCXX/temp-order.cpp. That test relies on rather extreme inlining for constant folding. llvm-svn: 98099
* MC/X86: Rename alternate spellings of ADD{8,16,32} and mark as "code gen ↵Daniel Dunbar2010-03-092-9/+14
| | | | | | only" so they don't get selected by the asm matcher. llvm-svn: 98098
* MC/X86: Rename alternate spellings of CMP{8,16,32} and mark as "code gen ↵Daniel Dunbar2010-03-092-6/+15
| | | | | | only" so they don't get selected by the asm matcher. llvm-svn: 98097
* Fix file reference for derived and composite types. Now, dwarf writer uses ↵Devang Patel2010-03-092-41/+40
| | | | | | strict verifier that ignores debug info for such types if their file info is unknown. llvm-svn: 98096
* Continue propagating the GoogleTest flags until we can update our version toChandler Carruth2010-03-092-1/+8
| | | | | | | eliminate this problem. This will hopefully let us make progress on Linux bootstrapping. llvm-svn: 98095
* Revert r98089, it was breaking a clang test.Jakob Stoklund Olesen2010-03-096-57/+6
| | | | llvm-svn: 98094
* Value-initialize the written-builtin-specifiers field of DeclSpec, whichJohn McCall2010-03-091-1/+2
| | | | | | | wasn't being initialized properly along the implicit-definition path. Found by the valgrind buildbot. llvm-svn: 98093
* Fix the test some more.Fariborz Jahanian2010-03-091-4/+4
| | | | llvm-svn: 98090
* Try to keep the cached inliner costs around for a bit longer for big functions.Jakob Stoklund Olesen2010-03-096-6/+57
| | | | | | | | | | | The Caller cost info would be reset everytime a callee was inlined. If the caller has lots of calls and there is some mutual recursion going on, the caller cost info could be calculated many times. This patch reduces inliner runtime from 240s to 0.5s for a function with 20000 small function calls. llvm-svn: 98089
* Permit inlining into huge functions. This heuristic is ancient, and inliningJakob Stoklund Olesen2010-03-091-5/+0
| | | | | | can sometimes help reduce function size. llvm-svn: 98088
* See if this test makes it though buildbot.Fariborz Jahanian2010-03-091-1/+9
| | | | llvm-svn: 98087
* Change the Value argument to eliminateFrameIndex to a type-tagged value. ThisJim Grosbach2010-03-0930-33/+40
| | | | | | | | | | is preparatory to having PEI's scavenged frame index value reuse logic properly distinguish types of frame values (e.g., whether the value is stack-pointer relative or frame-pointer relative). No functionality change. llvm-svn: 98086
* MSR (Move to Special Register from ARM core register) requires a mask to specifyJohnny Chen2010-03-092-12/+12
| | | | | | what fields of the CPSR or SPSR are affected. llvm-svn: 98085
* More then one anonymous aggregates on one line creates chaos when MDNode ↵Devang Patel2010-03-093-7/+19
| | | | | | | | uniquness is combined with RAUW operation. Right solution is to avoid using RAUW. This fixes PR 6554. llvm-svn: 98083
* MC/Mach-O: For PCrel relocations, we need to compensate for the PCrel ↵Daniel Dunbar2010-03-092-5/+71
| | | | | | adjustment when determining if we need a scattered relocation. llvm-svn: 98082
* MC/Mach-O: Also set the PCrel bit in the second half of paired relocation ↵Daniel Dunbar2010-03-091-4/+2
| | | | | | entries. llvm-svn: 98081
* MC/Mach-O: Don't generate relocations for PCrel fixups to local labels.Daniel Dunbar2010-03-091-9/+19
| | | | llvm-svn: 98080
* Reverse the code gen. enabled part of test until I can figure outFariborz Jahanian2010-03-091-9/+1
| | | | | | how to check the code pattern no matter how clang is built. llvm-svn: 98079
* Improve Objective-C token-annotation testDouglas Gregor2010-03-091-1/+28
| | | | llvm-svn: 98078
* The address of an indirect call must be in R12 on Darwin.Dale Johannesen2010-03-092-0/+29
| | | | | | | | Make it so. (This patch is in LowerCall_Darwin, which seems to be used by SVR4 code as well; since that doesn't belong here, I haven't worried about this case.) llvm-svn: 98077
* Consolidate GoogleTest make options and duplicate them to its own makefile.Chandler Carruth2010-03-092-8/+19
| | | | llvm-svn: 98074
* Code gen test for a previous patch forFariborz Jahanian2010-03-091-1/+8
| | | | | | radar 7709015 llvm-svn: 98073
* Use getLast() instead of getBasename().Devang Patel2010-03-091-1/+1
| | | | llvm-svn: 98072
* scavenged frame index value re-use gets confused when more than one baseJim Grosbach2010-03-092-1/+8
| | | | | | | | register is involved for thumb1. Work around this for the moment by only re-using SP-relative offsets. This is temporary 'til the code can distinguish multiple base registers. llvm-svn: 98071
* Don't error when a block pointer is passed to a Fariborz Jahanian2010-03-092-0/+13
| | | | | | vararg functions/methods. Fixes radar 7725203. llvm-svn: 98070
* The ARM EH experiment worked!Bill Wendling2010-03-094-50/+78
| | | | | | | | | | | | Place the LSDA into the TEXT section for ARM platforms. This involves making the encoding indirect, pcrel, and sdata4 instead of an absolute pointer. The references to the type infos are then non-lazy pointers. Revision 98019 changed the encoding of non-lazy pointers to add the symbol to the non-lazy pointer definition if it's a local symbol (otherwise, it's external and set to '0' so that the loader can adjust it to the real value). This paved the way for this change to work on ARM. llvm-svn: 98068
* In cases where the carry / borrow unused converted ladd / lsubRichard Osborne2010-03-092-0/+69
| | | | | | to an add or a sub. llvm-svn: 98059
* Canonicalize ladd constant to RHS.Richard Osborne2010-03-091-0/+4
| | | | llvm-svn: 98058
* Add DAG combine for ladd / lsub.Richard Osborne2010-03-093-0/+98
| | | | llvm-svn: 98057
* Add an Objective-C test for token annotationDouglas Gregor2010-03-091-0/+22
| | | | llvm-svn: 98056
* Replace copy loops with memcpy.Benjamin Kramer2010-03-091-4/+2
| | | | llvm-svn: 98055
* Attempt to fix random build failures seen when doing highlyDuncan Sands2010-03-091-2/+1
| | | | | | | parallel builds: the gold plugin fails to link because the lto library is in the middle of being written out by the linker. llvm-svn: 98054
* Allow more cross-rc coalescing.Evan Cheng2010-03-091-10/+13
| | | | llvm-svn: 98048
* reapply r98035:Chris Lattner2010-03-095-28/+29
| | | | | | | Now that setStartLabel takes an MCSymbol, we can de-ID'ize beginScope and RecordSourceLine. llvm-svn: 98047
* add some extra checks. I'm not sure why, but this does unbreak aChris Lattner2010-03-091-0/+3
| | | | | | failure remaining on mainline. llvm-svn: 98046
* Revert accidental commit.Evan Cheng2010-03-091-1/+1
| | | | llvm-svn: 98045
* Don't do illegal cross-class coalescing.Jakob Stoklund Olesen2010-03-091-1/+1
| | | | llvm-svn: 98044
* - Make the machine cse dumb coalescer (as opposed to the more awesome simpleEvan Cheng2010-03-092-15/+59
| | | | | | | | | coalescer) handle sub-register classes. - Add heuristics to avoid non-profitable cse. Given the current lack of live range splitting, avoid cse when an expression has PHI use and the would be new use is in a BB where the expression wasn't already being used. llvm-svn: 98043
* Don't try to fold V_SET0 and V_SETALLONES to loads in medium andDan Gohman2010-03-091-0/+5
| | | | | | large code models. llvm-svn: 98042
* This is part of an LLC-beta test used to test <rdar://problem/6804645>. PleaseBill Wendling2010-03-091-1/+31
| | | | | | bear with the awful code. It won't last in its current state beyond tonight. llvm-svn: 98040
* Speculatively revert r98035. It appears to have caused a set of buildbotEric Christopher2010-03-095-29/+28
| | | | | | failures. llvm-svn: 98039
* Attempt to make this debug output meaningful, both in the case ofDan Gohman2010-03-091-3/+6
| | | | | | multibyte opcodes and in the case of multiple scopes. llvm-svn: 98036
* Now that setStartLabel takes an MCSymbol, we can de-ID'izeChris Lattner2010-03-095-28/+29
| | | | | | beginScope and RecordSourceLine. llvm-svn: 98035
OpenPOWER on IntegriCloud