summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* rdar://16424649Enrico Granata2014-04-025-60/+135
| | | | | | | | Clean up the DynamicValueTestCase Namely, I split off the part of the test that validates child counts to a separate test llvm-svn: 205450
* [mips] Add more Octeon cnMips instructionsKai Nacke2014-04-024-12/+87
| | | | | | | | | | | | Adds the instructions ext/ext32/cins/cins32. It also changes pop/dpop to accept the two operand version and adds a simple pattern to generate baddu. Tests for the two operand versions (including baddu/dmul/dpop/pop) and the code generation pattern for baddu are included. Reviewed by: Daniel.Sanders@imgtec.com llvm-svn: 205449
* PR19305: Don't issue -Wunused-variable warnings on variable templates. It's notRichard Smith2014-04-023-26/+42
| | | | | | | | | | | meaningful to odr-use the VarDecl inside a variable template. (Separately, it'd be nice to track referenced-ness for templates, and warn on unused ones, but that's really a distinct issue...) Move a test that generates and tests a warning-suppressing error out to its own test file, so it doesn't have weird effects on the other tests in the same file. llvm-svn: 205448
* DebugInfo: Include default template arguments in template type namesDavid Blaikie2014-04-022-22/+15
| | | | | | | | | | | | | | | This was committed 4 years ago in 108916 with insufficient testing to explain why the "getTypeAsWritten" case was appropriate. Experience says that it isn't - the presence or absence of an explicit instantiation declaration was causing this code to generate either i<int> or i<int, int>. That didn't seem to be a useful distinction, and omitting the template arguments was destructive to debuggers being able to associate the two types across translation units or across compilers (GCC, reasonably, never omitted the arguments). llvm-svn: 205447
* [C++11,ARM64] Range based for and explicit 'override' in STP cleanup.Jim Grosbach2014-04-021-15/+13
| | | | | | No functional change intended. llvm-svn: 205446
* [C++11,ARM64] Range based for loops in constant promotion.Jim Grosbach2014-04-021-9/+6
| | | | | | No functional change intended. llvm-svn: 205445
* [C++11,ARM64] Range based for loops in load/store pair optimizer.Jim Grosbach2014-04-021-4/+1
| | | | | | No functional change intended. llvm-svn: 205444
* [C++11,ARM64] Range based for loops in target lowering.Jim Grosbach2014-04-021-3/+2
| | | | | | No functional change intended. llvm-svn: 205443
* [C++11,ARM64] Range based for loops in frame lowering.Jim Grosbach2014-04-021-5/+3
| | | | | | No functional change intended. llvm-svn: 205442
* [C++11,ARM64] Range based for loops in pseudo expansion.Jim Grosbach2014-04-021-3/+2
| | | | | | No functional change intended. llvm-svn: 205441
* [C++11,ARM64] Range based for loops for LOHJim Grosbach2014-04-021-34/+21
| | | | | | No functional change intended. llvm-svn: 205440
* [C++11,ARM64] Range based for loops TLS cleanup.Jim Grosbach2014-04-021-3/+2
| | | | | | No functional change intended. llvm-svn: 205439
* [C++11,ARM64] Range based for loops in branch relaxation.Jim Grosbach2014-04-021-6/+5
| | | | | | No functional change intended. llvm-svn: 205438
* [C++11,ARM64] Range based for loops in address type promotion.Jim Grosbach2014-04-021-34/+25
| | | | | | No functional change intended. llvm-svn: 205437
* Extend the SSE2 comment lexing to AVX2. Only 16byte align when not on AVX2.Roman Divacky2014-04-021-5/+28
| | | | | | This provides some 3% speedup when preprocessing gcc.c as a single file. llvm-svn: 205436
* [ARM64][CollectLOH] Remove the link to the radar from the comments.Quentin Colombet2014-04-021-3/+0
| | | | llvm-svn: 205435
* [yaml2obj][ELF] Convert some static functions into class members toSimon Atanasyan2014-04-021-149/+159
| | | | | | | | reduce number of arguments. No functional changes. llvm-svn: 205434
* [yaml2obj][ELF] Remove unused typedef.Simon Atanasyan2014-04-021-1/+0
| | | | | | No functional changes. llvm-svn: 205433
* [yaml2obj][ELF] Move section index to the ELFState class.Simon Atanasyan2014-04-021-32/+39
| | | | | | No functional changes. llvm-svn: 205432
* [yaml2obj][ELF] Remove relationship between ELFStateSimon Atanasyan2014-04-021-13/+6
| | | | | | | | | and ContiguousBlobAccumulator classes. Pass ContiguousBlobAccumulator to the handleSymtabSectionHeader function directly. No functional changes. llvm-svn: 205431
* ARM: Add support for segmented stacksOliver Stannard2014-04-0212-0/+1100
| | | | | | Patch by Alex Crichton, ILyoan, Luqman Aden and Svetoslav. llvm-svn: 205430
* clarify commentAdrian Prantl2014-04-021-1/+2
| | | | llvm-svn: 205429
* fix a comment to use ASCII aprostrophes.Adrian Prantl2014-04-021-1/+1
| | | | llvm-svn: 205428
* Add annotation for failure from new Attach/Resume test case on FreeBSDEd Maste2014-04-021-0/+1
| | | | llvm-svn: 205427
* ARM64: use GOT for weak symbols & PIC.Tim Northover2014-04-023-6/+128
| | | | | | | | | | Weak symbols cannot use the small code model's usual ADRP sequences since the instruction simply may not be able to encode a value of 0. This redirects them to use the GOT, which hopefully linkers are able to cope with even in the static relocation model. llvm-svn: 205426
* ARM64: fix lowering of fp128 fptosi/fptouiTim Northover2014-04-022-1/+54
| | | | | | | We were creating libcall nodes that returned an MVT::f128, when these particular operations actually return an int of some stripe. llvm-svn: 205425
* SLPVectorizer: compare entire intrinsic for SLP compatibility.Tim Northover2014-04-023-2/+23
| | | | | | | | | Some Intrinsics are overloaded to the extent that return type equality (all that's been checked up to now) does not guarantee that the arguments are the same. In these cases SLP vectorizer should not recurse into the operands, which can be achieved by comparing them as "Function *" rather than simply the ID. llvm-svn: 205424
* ARM64: make sure first argument to INSERT_SUBVECTOR has right type.Tim Northover2014-04-022-4/+9
| | | | | | | | Again, coalescing and other optimisations swiftly made the MachineInstrs consistent again, but when compiled at -O0 a bad INSERT_SUBREGISTER was produced. llvm-svn: 205423
* ARM64: convert fp16 narrowing ISel to pseudo-instructionTim Northover2014-04-024-15/+16
| | | | | | | | The previous attempt was fine with optimisations, but was actually rather cavalier with its types. When compiled at -O0, it produced invalid COPY MachineInstrs. llvm-svn: 205422
* Mark FPB as a reserved register when needed.Job Noorman2014-04-022-1/+15
| | | | llvm-svn: 205421
* Add matcher for ExprWithCleanups.Samuel Benzaquen2014-04-023-0/+20
| | | | | | | | | | | | Summary: Add matcher for ExprWithCleanups. Reviewers: klimek CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D3248 llvm-svn: 205420
* Add support for named values in the parser.Samuel Benzaquen2014-04-025-26/+95
| | | | | | | | | | | | | | | | | | | | Summary: Add support for named values in the parser. This allows injection of arbitrary constants using a custom Sema object. Completions are not supported right now. Will be used by clang_query to support the 'let' command. Usage example: clang_query> let unique_ptr recordDecl(hasName("unique_ptr")) clang_query> match varDecl(hasType(unique_ptr)) Reviewers: klimek, pcc CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D3229 llvm-svn: 205419
* [ASan] Fix incompatible runtimes check: don't iterate /proc/self/maps on ↵Alexey Samsonov2014-04-021-17/+22
| | | | | | every call to __asan_init llvm-svn: 205418
* [msan] Add missing test for r205413.Evgeniy Stepanov2014-04-021-0/+33
| | | | llvm-svn: 205417
* Work around gold bug http://sourceware.org/PR16794.Rafael Espindola2014-04-023-3/+8
| | | | llvm-svn: 205416
* [msan] Kill __msan_print_param_shadow.Evgeniy Stepanov2014-04-023-13/+0
| | | | | | | It does not do what it's name says, and what it actually does is hard to describe, and is not useful at all. llvm-svn: 205415
* Replace INVALID/INVALID_NOVERIFY with diagnostics.Andreas Simbuerger2014-04-023-179/+638
| | | | | | | | | | | | | | | | | | | | | This replaces the ancient INVALID/INVALID_NOVERIFY macros with a real function. The new invalid(..) function uses small diagnostic objects that are generated on demand. We can store arbitrary additional information per error type and generate useful debug/error messages on the fly. Use it as follows: if (/* Some error condition (ReportFoo) */) invalid<ReportFoo>(Context, /*Assert=*/true/false, (/* List of helpful diagnostic objects */)); Where ReportFoo is a subclass of RejectReason that is able to take the list of helpful diagnostic objects in its constructor. The implementation of invalid will create the report and fire an assertion, if necessary. llvm-svn: 205414
* [msan] Add __msan_check_mem_is_initialized.Evgeniy Stepanov2014-04-023-0/+23
| | | | | | An assert()-like function that checks that a memory range is fully initialized. llvm-svn: 205413
* [msan] Precise origin handling in __unaligned_(load|store)*.Evgeniy Stepanov2014-04-024-35/+160
| | | | llvm-svn: 205412
* [ASan] One more attempt to fix Android buildAlexey Samsonov2014-04-021-7/+6
| | | | llvm-svn: 205411
* [msan] clang-format several unit testsEvgeniy Stepanov2014-04-021-25/+25
| | | | llvm-svn: 205410
* Remove duplicated DMB instructionsRenato Golin2014-04-025-0/+178
| | | | | | | | | ARM specific optimiztion, finding places in ARM machine code where 2 dmbs follow one another, and eliminating one of them. Patch by Reinoud Elhorst. llvm-svn: 205409
* Fix regex bug in clang-tidy.Daniel Jasper2014-04-029-11/+11
| | | | | | | | Also make tests slightly less dependent on default flags. Once we have implemented configuration file support, we might want to store the clang-tidy configuration for the tests there. llvm-svn: 205408
* Disable a few clang-tidy checks by default.Daniel Jasper2014-04-021-1/+5
| | | | | | | | The goal is to be able to run clang-tidy on LLVM files without further configuration for now. Once llvm.org/PR19306 is addressed, we can add a configuration file instead and choose other defaults. llvm-svn: 205407
* Remove a function that's not defined.Rui Ueyama2014-04-021-1/+0
| | | | llvm-svn: 205406
* Use getpgid() with waitpid() in case the process pgid is not equal to its ↵Andrew MacPherson2014-04-026-4/+147
| | | | | | pid, as is the case with a forked subprocess. Also a couple of fixes for unit test failures from Todd Fiala. llvm-svn: 205405
* s/llvm::dyn_cast/dyn_cast/Rui Ueyama2014-04-025-17/+14
| | | | llvm-svn: 205404
* Use cast<T> instead of dyn_cast<T>.Rui Ueyama2014-04-021-2/+2
| | | | llvm-svn: 205403
* Remove unused variables.Rui Ueyama2014-04-021-5/+2
| | | | llvm-svn: 205402
* Remove dead code.Rui Ueyama2014-04-022-9/+4
| | | | llvm-svn: 205401
OpenPOWER on IntegriCloud