summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add assembler/disassembler support for non-AVX pclmulqdq. While I'm here, ↵Eli Friedman2011-07-054-35/+58
| | | | | | use proper aliases for the pclmullqlqdq and friends. PR10269. llvm-svn: 134424
* indvars -disable-iv-rewrite: avoid multiple IVs in weird cases.Andrew Trick2011-07-051-18/+30
| | | | | | Putting back the helper that I removed on 7/1 to do this right. llvm-svn: 134423
* Use OS-specific configuration for mips-netbsd and mips-freebsd.Joerg Sonnenberger2011-07-051-4/+11
| | | | llvm-svn: 134422
* Some documentation fixes for the parser, from John FreemanDouglas Gregor2011-07-052-27/+2
| | | | llvm-svn: 134419
* StringRef'ize clang::drive::Option::getName(), from Zach Wheeler!Douglas Gregor2011-07-054-14/+15
| | | | llvm-svn: 134418
* Clean up and refactor ParseFunctionDeclarator to reduce codeDouglas Gregor2011-07-052-254/+197
| | | | | | repetition and better reflect the actual grammar, from John Freeman! llvm-svn: 134417
* ActOnCXXConditionDeclaration should take into account thatDouglas Gregor2011-07-052-1/+13
| | | | | | ActOnDeclarator can return NULL. Fixes PR10270, from Hans Wennborg! llvm-svn: 134416
* ARM estimateStackSize() needs to account for simplified call frames.Jim Grosbach2011-07-051-7/+39
| | | | | | | | | | | | If the function allocates reserved stack space for callee argument frames, estimateStackSize() needs to account for that, as it doesn't show up as ordinary frame objects. Otherwise, a callee with a large argument list will throw off the calculations for whether to allocate an emergency spill slot and we get assert() failures in the register scavenger. rdar://9715469 llvm-svn: 134415
* Don't define __CONSTANT_CFSTRINGS__ with -fno-constant-cfstrings issue.Fariborz Jahanian2011-07-051-1/+2
| | | | | | Patch by Jean-Daniel Dupas. llvm-svn: 134414
* Fix PR10277.Jakob Stoklund Olesen2011-07-053-0/+108
| | | | | | | | | | | | | | | Remat during spilling triggers dead code elimination. If a phi-def becomes unused, that may also cause live ranges to split into separate connected components. This type of splitting is different from normal live range splitting. In particular, there may not be a common original interval. When the split range is its own original, make sure that the new siblings are also their own originals. The range being split cannot be used as an original since it doesn't cover the new siblings. llvm-svn: 134413
* Tweak comment and debug output.Jakob Stoklund Olesen2011-07-051-2/+3
| | | | llvm-svn: 134412
* Don't define _BIG_ENDIAN for NetBSD/PowerPC.Joerg Sonnenberger2011-07-051-1/+2
| | | | llvm-svn: 134411
* Fix indentationJoerg Sonnenberger2011-07-051-3/+3
| | | | llvm-svn: 134410
* Fix 80-col.Michael J. Spencer2011-07-051-3/+12
| | | | llvm-svn: 134409
* Fix warnings.Michael J. Spencer2011-07-051-3/+3
| | | | llvm-svn: 134408
* Teach Clang's <float.h> to also include MinGW's <float.h>, which provides ↵Douglas Gregor2011-07-051-0/+42
| | | | | | additional system definitions, from Ruben Van Boxem llvm-svn: 134407
* Update header-search paths for MinGW, from Ruben Van BoxemDouglas Gregor2011-07-051-0/+2
| | | | llvm-svn: 134406
* Fix uninitialized loop counter. http://llvm.org/bugs/show_bug.cgi?id=10278Howard Hinnant2011-07-051-1/+1
| | | | llvm-svn: 134405
* Don't overread the buffer when an %x escape in inline asm ends prematurely.Benjamin Kramer2011-07-051-0/+4
| | | | | | Tested by valgrind & Sema/asm.c. llvm-svn: 134404
* Initialize member.Benjamin Kramer2011-07-051-1/+2
| | | | llvm-svn: 134403
* test: Remove redundant function definitionTobias Grosser2011-07-041-3/+0
| | | | | | | The latest version of LLVM fails, if a function is defined twice in an LLVM bitcode file. llvm-svn: 134400
* Add explicit default case for -Wswitch-enum.Joerg Sonnenberger2011-07-041-0/+2
| | | | llvm-svn: 134399
* SuccIterator on bbs without terminator instsTobias Grosser2011-07-041-3/+11
| | | | | | | | | Remove the assert that triggers if SuccIterator is constructed for a basic block without a terminator instruction. Instead of triggering an assert a succ_end() iterator is returned. This models a basic block with zero successors and allows us to use F->viewCFG() on incompletely constructed functions. llvm-svn: 134398
* Use switch(os) style consistently. Add a bunch of NetBSD branches.Joerg Sonnenberger2011-07-041-10/+27
| | | | llvm-svn: 134393
* On PowerPC, both FreeBSD and NetBSD use ints for (s)size_tJoerg Sonnenberger2011-07-041-1/+5
| | | | llvm-svn: 134392
* PR10267: Don't combine an equality compare with an AND into an inequality ↵Benjamin Kramer2011-07-042-1/+17
| | | | | | | | compare when the AND has more than one use. This can pessimize code, inequalities are generally more expensive. llvm-svn: 134379
* Remove unused parameter from ActOnDeclarator.Anders Carlsson2011-07-042-5/+3
| | | | llvm-svn: 134377
* Remove accidentaly left node from previous iteration of the patch.Roman Divacky2011-07-041-3/+0
| | | | | | Noticed by Benjamin Kramer! llvm-svn: 134376
* Make the default Makefile less destructive: John McCallHoward Hinnant2011-07-041-0/+3
| | | | llvm-svn: 134375
* Switch the Decl and Stmt stats printing to use llvm::errs() instead ofChandler Carruth2011-07-042-15/+16
| | | | | | | fprintf, and to be more consistent in formatting with the other stats printing routines. llvm-svn: 134374
* Start switching the AST stats printing to use llvm::errs() instead ofChandler Carruth2011-07-042-27/+28
| | | | | | fprintf. There is more cleanup to be done to the AST stats printing... llvm-svn: 134373
* Move early tail duplication earlier.Rafael Espindola2011-07-041-6/+6
| | | | | | | | | | | | | | This fixes the issue noted in PR10251 where early tail dup of bbs with indirectbr would cause a bb to be duplicated into a loop preheader and then into its predecessors, creating phi nodes with identical operands just before register allocation. This helps with jsinterp.o size (__TEXT goes from 163568 to 126656) and a bit with performance 1.005x faster on sunspider (jits still enabled). The result on webkit with the jit disabled is more significant: 1.021x faster. llvm-svn: 134372
* Move most of the pre BB code to TailDuplicateAndUpdate. Change theRafael Espindola2011-07-041-112/+125
| | | | | | HasIndirectbr variable to be just that. No functionality change. llvm-svn: 134371
* Reduce indentation and fix the count of how many PHIs we have inserted.Rafael Espindola2011-07-041-75/+80
| | | | llvm-svn: 134370
* Fix PR10244.Jakob Stoklund Olesen2011-07-041-4/+4
| | | | | | | | | | | | A split point inserted in a block with a landing pad successor may be hoisted above the call to ensure that it dominates all successors. The code that handles the rest of the basic block must take this into account. I am not including a test case, it would be very fragile. PR10244 comes from building clang with exceptions enabled. llvm-svn: 134369
* Add a CLEANUP_DOCSTRING state to our FSM to do cleanup of the Python docstringsJohnny Chen2011-07-031-16/+41
| | | | | | | generated from the swig docstring features instead of blindly applying the cleanup action for all input lines. llvm-svn: 134368
* Make the i64 and f64 be 64bit ABI aligned in the target description.Roman Divacky2011-07-031-1/+1
| | | | | | This is what both the ABI and clang says. llvm-svn: 134367
* test/CodeGen/X86/lsr-nonaffine.ll: Relax expressions for Win64 CC to appease ↵NAKAMURA Takumi2011-07-031-3/+3
| | | | | | Win32 hosts. llvm-svn: 134366
* Fix an easy fixme.Rafael Espindola2011-07-031-6/+10
| | | | llvm-svn: 134364
* fix typoChris Lattner2011-07-031-1/+1
| | | | llvm-svn: 134361
* Add swig docstrings for SBFrame.h.Johnny Chen2011-07-032-26/+93
| | | | | | Add post-processing step to remove the trailing blank lines from the docstrings of lldb.py. llvm-svn: 134360
* When we use the "fd://%u" for file descriptors, we need to detect if this isGreg Clayton2011-07-023-26/+48
| | | | | | | | | a file or socket. We now make a getsockopt call to check if the fd is a socket. Also, the previous logic in the GDB communication needs to watch for success with an error so we can deal with EAGAIN and other normal "retry" error codes. llvm-svn: 134359
* FileCheck-ize another test. Reduces the llc invocations from 8 to 1, andChandler Carruth2011-07-021-8/+41
| | | | | | | makes one of the tests actually mean something (as the string 'add' will always appear in the output of this file). llvm-svn: 134358
* Cleanup errors that come out of commands and make sure they all have newlinesGreg Clayton2011-07-023-23/+85
| | | | | | | | | | | | | _only_ in the resulting stream, not in the error objects (lldb_private::Error). lldb_private::Error objects should always just have an error string with no terminating newline characters or periods. Fixed an issue with GDB remote packet detection that could end up deadlocking if a full packet wasn't received in one chunk. Also modified the packet checking function to properly toss one or more bytes when it detects bad data. llvm-svn: 134357
* Avoid writing to an arbitrary filename during the test run by writing toChandler Carruth2011-07-021-8/+8
| | | | | | a file descriptor. llvm-svn: 134355
* FileCheck-ize another X86 test, making it more precisely verify theChandler Carruth2011-07-021-13/+24
| | | | | | desired result based on the comments in the file. llvm-svn: 134354
* Quote two greps which contain parentheses.Chandler Carruth2011-07-022-2/+2
| | | | llvm-svn: 134353
* FileCheck-ize and simplify RUN lines.Chandler Carruth2011-07-021-4/+3
| | | | llvm-svn: 134352
* FileCheck-izeChandler Carruth2011-07-021-1/+6
| | | | llvm-svn: 134351
* FileCheck-ize and tighten up assertions to only check the relevant sections.Chandler Carruth2011-07-021-3/+11
| | | | llvm-svn: 134350
OpenPOWER on IntegriCloud