summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] Count errors in ClangTidyDiagnosticConsumerAlexander Kornienko2014-11-202-1/+4
| | | | | | | This re-applies r222363 reverted in r222390 after compilation errors in our out-of-tree clang-tidy tests were fixed. llvm-svn: 222427
* Fix a typoTimur Iskhodzhanov2014-11-201-1/+1
| | | | llvm-svn: 222426
* [DFSan] Add flag to dump the labels when the program terminates.Lorenzo Martignoni2014-11-204-2/+130
| | | | | | Differential Revision: http://reviews.llvm.org/D6306 llvm-svn: 222425
* clang-format: [Java] Don't align after "return".Daniel Jasper2014-11-202-1/+17
| | | | | | | | | | | | | | | | | | Doesn't seem to be common practice in Java. Before: return aaaaaaaaaaaaaaaaaaa && bbbbbbbbbbbbbbbbbbb && ccccccccccccccccccc; After: return aaaaaaaaaaaaaaaaaaa && bbbbbbbbbbbbbbbbbbb && ccccccccccccccccccc; Patch by Harry Terkelsen. llvm-svn: 222424
* clang-format: [Java] Don't force break before generic type method.Daniel Jasper2014-11-202-0/+8
| | | | | | | | | | | | | | | Before: Foo.bar() .<X> baz(); After: Foo.bar() .<X>baz(); Patch by Harry Terkelsen. llvm-svn: 222423
* SimplifyCFG.cpp: Tweak to let msc17 compliant.NAKAMURA Takumi2014-11-201-8/+11
| | | | | | | | - Use LLVM_DELETED_FUNCTION. - Don't use member initializers. - Don't use initializer list. llvm-svn: 222422
* SimplifyCFG: Refactor GatherConstantCompares() result in a structMehdi Amini2014-11-201-136/+147
| | | | | | Code seems cleaner and easier to understand this way llvm-svn: 222416
* [Mips] Configure GOTPLT entries in the corresponding constructorSimon Atanasyan2014-11-201-6/+8
| | | | | | No functional changes. llvm-svn: 222415
* [ELF] Prevent ARM ELF object writer from generating deprecated relocation ↵Jyoti Allur2014-11-203-4/+3
| | | | | | code R_ARM_PLT32 llvm-svn: 222414
* Add a test for r221870David Majnemer2014-11-202-0/+8
| | | | | | | bad-relocs.obj.coff-i386 has a relocation whose symbol index is outside the symbol table. llvm-svn: 222413
* Fix a typo in a comment.Craig Topper2014-11-201-1/+1
| | | | llvm-svn: 222412
* Remove unnecessary extra spaces from tablegen register info output.Craig Topper2014-11-201-1/+1
| | | | llvm-svn: 222411
* Use array_lengthof instead of sizeof(array)/sizeof(element) in a tablegen ↵Craig Topper2014-11-201-5/+4
| | | | | | output. llvm-svn: 222410
* [OPENMP] Codegen for "omp flush" directive.Alexey Bataev2014-11-204-5/+73
| | | | | | | | For each "omp flush" directive a call to "void kmpc_flush(ident_t *, ...)" function is generated. Directive "omp flush" may have an associated list of variables to flush, but currently runtime function ignores them. So the patch generates just "call kmpc_flush(ident_t *<loc>, i32 0)". Differential Revision: http://reviews.llvm.org/D6292 llvm-svn: 222409
* Fix buildbots.Richard Smith2014-11-201-7/+7
| | | | llvm-svn: 222408
* [CMake] Use .svn/wc.db as our VC dependency if it's available.Jordan Rose2014-11-201-6/+10
| | | | | | | | | | | In order to keep SVNVersion.inc from being regenerated on every build, we need to specify as a dependency a file that only changes when the VC state updates. I previously just had .svn/entries, but that's only used by Subversion 1.6. 1.7 uses .svn/wc.db instead; prefer that if it's present. (Thanks, Nico!) llvm-svn: 222407
* Remove xfail tag for darwin from quick_exit testEric Fiselier2014-11-201-1/+0
| | | | llvm-svn: 222406
* Remove tests that va_copy is not defined when C++ < 11.Eric Fiselier2014-11-202-8/+0
| | | | llvm-svn: 222405
* Preserve numeric literal suffixes during type canonicalization.Richard Smith2014-11-203-0/+27
| | | | | | Patch by Pierre Gousseau! Test cases altered significantly by me. llvm-svn: 222404
* Avoid earlier test interfering with later one.Richard Smith2014-11-201-2/+2
| | | | llvm-svn: 222403
* When mangling member-expressions, skip implicit accesses of anonymous unionRichard Smith2014-11-202-0/+88
| | | | | | objects. This is consistent with GCC's behavior. Patch by Tomasz Miąsko! llvm-svn: 222402
* Remove support for undocumented SpecialCaseList entries.Alexey Samsonov2014-11-203-33/+3
| | | | | | | | | | | | | "global-init", "global-init-src" and "global-init-type" were originally used to blacklist entities in ASan init-order checker. However, they were never documented, and later were replaced by "=init" category. Old blacklist entries should be converted as follows: * global-init:foo -> global:foo=init * global-init-src:bar -> src:bar=init * global-init-type:baz -> type:baz=init llvm-svn: 222401
* PR21531: fix crash on invalid with unexpanded pack in case value.Richard Smith2014-11-202-8/+14
| | | | llvm-svn: 222400
* [Hexagon] Adding A2_xor instruction with IR selection pattern and test.Colin LeMahieu2014-11-193-6/+16
| | | | llvm-svn: 222399
* Revert "[Reassociate] As the expression tree is rewritten make sure the ↵Chad Rosier2014-11-1917-62/+60
| | | | | | | | | | | | | operands are" This reverts commit r222142. This is causing/exposing an execution-time regression in spec2006/gcc and coremark on AArch64/A57/Ofast. Conflicts: test/Transforms/Reassociate/optional-flags.ll llvm-svn: 222398
* Revert "[Reassociate] Update test cases due to r222142."Chad Rosier2014-11-194-11/+11
| | | | | | | | | This reverts commit r222144. Commit r222142 is being reverted due to a spec2006/gcc execution-time regression. Update mips-varargs test as well. llvm-svn: 222397
* [Hexagon] Adding A2_or instruction with IR selection pattern and test.Colin LeMahieu2014-11-193-3/+16
| | | | llvm-svn: 222396
* gold-plugin: Fix typo in error messageDuncan P. N. Exon Smith2014-11-191-1/+1
| | | | | | Spotted while reading code. llvm-svn: 222395
* clang-format: [Java] Accept generic types in enum declarationDaniel Jasper2014-11-192-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | Before: enum Foo implements Bar<X, Y> { ABC { ... } , CDE { ... }; } After: enum Foo implements Bar<X, Y> { ABC { ... }, CDE { ... }; } Patch by Harry Terkelsen. llvm-svn: 222394
* [CMake] Always include the Clang repo version, just like the autoconf build.Jordan Rose2014-11-191-25/+43
| | | | | | | | | | | | | | Now that LLVM's helper script GetSVN.cmake actually works consistently, there's no reason not to use it. We avoid having to regenerate SVNVersion.inc every time by marking it as dependent on Git's reflog or SVN's entries file. This should end most of the issues of the AST format changing and breaking old module files: CMake-Clang should now detect that the version changed just like Autoconf-Clang has. Based on r190557. Depends on LLVM r222391. llvm-svn: 222393
* Constify a few IdentifierInfo * parameters.Jordan Rose2014-11-192-5/+6
| | | | | | No functionality change. llvm-svn: 222392
* [CMake] Update GetSVN.cmake to use LLVM version control helper scripts.Jordan Rose2014-11-191-17/+37
| | | | | | | | | | This allows the logic to work with Git, and also uses the variable names to match what Clang is actually looking for. This is a re-application of r190556 and r190808. This changes the interface of GetSVN.cmake. Clang change to follow. llvm-svn: 222391
* Revert r222363: "[clang-tidy] Count errors in ClangTidyDiagnosticConsumer"Hans Wennborg2014-11-192-4/+1
| | | | | | | This was causing clang-tidy invocations that would previously pass despite source errors to fail. llvm-svn: 222390
* ADT: windows itanium targets msvcrt.dllSaleem Abdulrasool2014-11-191-1/+2
| | | | | | | Update the isOSMSVCRT to correctly identify that windows-itanium uses msvcrt.dll. llvm-svn: 222389
* [MSan] [MIPS] Adding support for MIPS64 (patch by Mohit Bhakkad).Alexey Samsonov2014-11-1910-12/+49
| | | | | | Reviewed at http://reviews.llvm.org/D5906 llvm-svn: 222388
* Fix bug where a trivial constexpr copy/move operation couldn't copy from anRichard Smith2014-11-193-4/+72
| | | | | | | empty non-constexpr object. Such a copy doesn't break any of the constexpr rules. llvm-svn: 222387
* Try to fix MSVS build after r222384. No intended behavior change.Nico Weber2014-11-191-3/+3
| | | | llvm-svn: 222386
* Fix Use-of-uninitialized-value for adrp_addr and adrp_inst in MachODump.cppKevin Enderby2014-11-191-0/+4
| | | | | | Fixes PR21607 llvm-svn: 222385
* SimplifyCFG: turn recursive GatherConstantCompares into iterativeMehdi Amini2014-11-191-99/+138
| | | | | | A long sequence of || or && could lead to a stack explosion. llvm-svn: 222384
* Change contradictory wording in va_copy test error message.Eric Fiselier2014-11-192-4/+4
| | | | llvm-svn: 222383
* RegisterCoalescer: Improve debug messagesMatthias Braun2014-11-191-6/+8
| | | | | | | | | - Show "Considering..." message after flipping so you actually see the final destination vreg as destination. - Add a message on final join, so you can grep for "Success" messages to obtain a list of which register got merged with which. llvm-svn: 222382
* Add a print and verify pass after the RegisterCoalescerMatthias Braun2014-11-191-0/+1
| | | | llvm-svn: 222381
* MachineVerifier: Report register for bad liverangesMatthias Braun2014-11-191-24/+28
| | | | llvm-svn: 222380
* Introduce register dump helperMatthias Braun2014-11-192-0/+13
| | | | llvm-svn: 222379
* Implement N4280 - 'Non-member size() and more'Marshall Clow2014-11-195-6/+283
| | | | llvm-svn: 222378
* DebugInfo: Don't emit a 'global variable' when a static member declaration ↵David Blaikie2014-11-193-8/+36
| | | | | | | | | is referenced without a definition, just ensure the enclosing class (with the static member declaration) is emitted. Addresses PR21511 by emitting appropriate metadata rather than faux-global definitions for a variable that doesn't have a definition. llvm-svn: 222377
* AliasSet: Simplify mergeSetInDavid Majnemer2014-11-191-4/+3
| | | | | | No functional change intended. llvm-svn: 222376
* [X86] Improved lowering of v4x32 build_vector dag nodes.Andrea Di Biagio2014-11-193-81/+228
| | | | | | | | | | | | | | | | | | This patch improves the lowering of v4f32 and v4i32 build_vector dag nodes that are known to have at least two non-zero elements. With this patch, a build_vector that performs a blend with zero is converted into a shuffle. This is done to let the shuffle legalizer expand the dag node in a optimal way. For example, if we know that a build_vector performs a blend with zero, we can try to lower it as a movq/blend instead of always selecting an insertps. This patch also improves the logic that lowers a build_vector into a insertps with zero masking. See for example the extra test cases added to test sse41.ll. Differential Revision: http://reviews.llvm.org/D6311 llvm-svn: 222375
* [ADT] Fix PR20728 - Incorrect APFloat::fusedMultiplyAdd results for x86_fp80.Lang Hames2014-11-192-12/+36
| | | | | | | | | | | | | | As detailed at http://llvm.org/PR20728, due to an internal overflow in APFloat::multiplySignificand the APFloat::fusedMultiplyAdd method can return incorrect results for x87DoubleExtended (x86_fp80) values. This commonly manifests as incorrect constant folding of libm fmal calls on x86. E.g. fmal(1.0L, 1.0L, 3.0L) == 0.0L (should be 4.0L) This patch fixes PR20728 by adding an extra bit to the significand for intermediate results of APFloat::multiplySignificand, avoiding the overflow. llvm-svn: 222374
* Fix a temporary MDNode leak.Frederic Riss2014-11-191-0/+7
| | | | | | | | | | | | While emitting debug information for function forward decalrations, we create DISubprogram objects that aran't stored in the AllSubprograms list, and thus won't get finalized by the DIBuilder. During the DIBuilder finalize(), the temporary MDNode allocated for the DISubprogram Variables field gets RAUWd with a non temporary DIArray. For the forward declarations, simply delete that temporary node before we delete the parent node, so that it doesn't leak. llvm-svn: 222373
OpenPOWER on IntegriCloud