summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* AMDGPU: Fix typoMatt Arsenault2016-06-281-7/+6
| | | | llvm-svn: 274034
* AMDGPU: Remove unused functionMatt Arsenault2016-06-282-33/+0
| | | | llvm-svn: 274033
* Process::StopForDetachOrDestroy should actually return an error if it can't ↵Jim Ingham2016-06-281-1/+1
| | | | | | | | | | stop the process. <rdar://problem/26990309> llvm-svn: 274032
* [CMake] [Apple Clang] Enable Compiler-RT tests on stage2 buildsChris Bieneman2016-06-281-2/+0
| | | | | | We want to be able to run the compiler-rt tests on stage2 build configurations in CI. This should enable that. llvm-svn: 274031
* [CMake] In r273957, I deleted a line that shouldn't have been removed.Chris Bieneman2016-06-281-0/+1
| | | | llvm-svn: 274030
* [llvm-cov] Create an index of reports in -output-dir modeVedant Kumar2016-06-286-93/+155
| | | | | | | | | | This index lists the reports available in the 'coverage' sub-directory. This will help navigate coverage output from large projects. This commit factors the file creation code out of SourceCoverageView and into CoveragePrinter. llvm-svn: 274029
* [llvm-cov] Minor cleanups (NFC)Vedant Kumar2016-06-282-3/+3
| | | | | | | | - Test the '-o' alias for -output-dir. - Use a helper method in a conditional. - Add a period. llvm-svn: 274028
* [llvm-cov] Avoid copying file paths multiple times (NFC)Vedant Kumar2016-06-283-4/+15
| | | | llvm-svn: 274027
* [llvm-cov] Rename ShowFormat to Format (NFC)Vedant Kumar2016-06-283-4/+4
| | | | | | | This makes it a bit more generic, in case we want to emit summary reports in different formats in the future. llvm-svn: 274026
* [llvm-cov] Move a check into a helper method (NFC)Vedant Kumar2016-06-282-1/+4
| | | | llvm-svn: 274025
* [X86] Make WRPKRU/RDPKRU pass -verify-machineinstrsDavid Majnemer2016-06-282-10/+7
| | | | | | | | | | | The original implementation attempted to zero registers using XOR %foo, %foo. This is problematic because it constitutes a read-modify-write of a register which might not be defined. Instead, use MOV32r0 to avoid these problems; expandPostRAPseudo does the right thing here. llvm-svn: 274024
* Don't pass a Reloc::Model to GVIsIndirectSymbol.Rafael Espindola2016-06-287-19/+10
| | | | | | | | It already has access to it. While at it, rename it to isGVIndirectSymbol. llvm-svn: 274023
* Don't pass Reloc::Model to places that already have it. NFC.Rafael Espindola2016-06-288-36/+31
| | | | llvm-svn: 274022
* Convert more cases to isPositionIndependent(). NFC.Rafael Espindola2016-06-289-22/+22
| | | | llvm-svn: 274021
* Delete dead code. NFC.Rafael Espindola2016-06-283-12/+8
| | | | llvm-svn: 274020
* [clang-tidy] Do not match on lambdas.Samuel Benzaquen2016-06-282-4/+12
| | | | | | | | We match on the generated FunctionDecl of the lambda and try to fix it. This causes a crash. The right behavior is to ignore lambdas, because they are a definition. llvm-svn: 274019
* Use WG21.link reflector to get to issues, rather than linking directlyMarshall Clow2016-06-281-129/+129
| | | | llvm-svn: 274018
* [SystemZ] Save/restore r6 and r7 if function contains landing pad.Marcin Koscielnicki2016-06-282-1/+9
| | | | | | | | This fixes PR27102. Differential Revision: http://reviews.llvm.org/D18541 llvm-svn: 274017
* Updated C++1Z status page with new work from Oulu WG21 meetingMarshall Clow2016-06-281-0/+79
| | | | llvm-svn: 274016
* [ASTMatchers] Add isLambda() matcher.Samuel Benzaquen2016-06-284-0/+31
| | | | llvm-svn: 274015
* Adapt the "objc-race.mm" test to use ignore_interceptors_accesses=1. All ↵Kuba Brecka2016-06-281-1/+1
| | | | | | Obj-C/Darwin tests currently need this to avoid false positives. llvm-svn: 274014
* [X86][AVX] Peek through bitcasts to find the source of broadcasts (reapplied)Simon Pilgrim2016-06-285-22/+54
| | | | | | | | | | | | | | AVX1 can only broadcast vectors as floats/doubles, so for 256-bit vectors we insert bitcasts if we are shuffling v8i32/v4i64 types. Unfortunately the presence of these bitcasts prevents the current broadcast lowering code from peeking through cases where we have concatenated / extracted vectors to create the 256-bit vectors. This patch allows us to peek through bitcasts as long as the number of elements doesn't change (i.e. element bitwidth is the same) so the broadcast index is not affected. Note this bitcast peek is different from the stage later on which doesn't care about the type and is just trying to find a load node. As we're being more aggressive with bitcasts, we also need to ensure that the broadcast type is correctly bitcasted Differential Revision: http://reviews.llvm.org/D21660 llvm-svn: 274013
* [SPARC] Allows inlining of atomics for Sparc32 with appropriate store barrier.Chris Dewhurst2016-06-282-0/+14
| | | | | | The final change is required to extend the back-end's AtomicExpandPass that was implemented for Sparc (64 bit) and later extended for Sparc (32 bit). llvm-svn: 274012
* Fix "not all control paths return a value" warning on MSVCSimon Pilgrim2016-06-281-0/+1
| | | | llvm-svn: 274011
* Adding a comment to explain r273886 ("Stop unwinding the stack when a ↵Kuba Brecka2016-06-282-0/+6
| | | | | | close-to-zero PC is found"). NFC. llvm-svn: 274010
* Convert 2 more uses to shouldAssumeDSOLocal(). NFC.Rafael Espindola2016-06-282-4/+4
| | | | llvm-svn: 274009
* Fixed MSVC unresolved symbol error due to an incorrectly declared externSimon Pilgrim2016-06-281-1/+1
| | | | llvm-svn: 274007
* [modules] Separate intrinsic_gen dependent headers from module LLVM_IR.Vassil Vassilev2016-06-281-0/+37
| | | | | | | | | | Some headers in IR depend on tablegen generated code. Modules builds triggered generation of the LLVM_IR module (including headers dependant on intrinsic_gen), imposing a unnecessary build dependency. Reviewed by Richard Smith. llvm-svn: 274006
* Use isPositionIndependent(). NFC.Rafael Espindola2016-06-281-2/+1
| | | | llvm-svn: 274005
* Add missing includes.Vassil Vassilev2016-06-282-0/+4
| | | | | | Patch by Cristina Cristescu. llvm-svn: 274004
* [ELF] - Remove Config->ZDefs flag.George Rimar2016-06-283-6/+4
| | | | | | | | | -z defs is the same as --no-undefined (http://linux.die.net/man/1/ld). It looks to be a error to handle it separatelly. Differential revision: http://reviews.llvm.org/D21788 llvm-svn: 274003
* [ELF] - Implemented support of default/non-default symbols versionsGeorge Rimar2016-06-285-8/+275
| | | | | | | | | | | | | | | | | | | | t is possible to create new version of symbol instead of depricated one using combination of version script and asm commands. For example: __asm__(".symver b_1,b@LIBSAMPLE_1.0"); int b_1() { return 10; } __asm__(".symver b_2,b@@LIBSAMPLE_2.0"); int b_2() { return 20; } This code makes b_2() to be default implementation for b(). b_1() is used for compatibility with binaries compiled against library of older version LIBSAMPLE_1.0. This patch implements support for above functionality in lld. Differential revision: http://reviews.llvm.org/D21681 llvm-svn: 274002
* [clang-tidy] boost-use-to-string arg expr location bugfixPiotr Padlewski2016-06-282-16/+36
| | | | | | | | | | | | Summary: getExprLoc returns location after dot for member call. Reviewers: alexfh, sbenza, hokein Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D21642 llvm-svn: 274001
* [gold] Really fix test to run on non x86 platforms.Arnaud A. de Grandmaison2016-06-281-1/+1
| | | | | | Address post-commit comment from H.J. Lu. llvm-svn: 274000
* [X86][SSE] Added support for combining target shuffles to ↵Simon Pilgrim2016-06-2822-117/+218
| | | | | | | | | | | | (V)PSHUFD/VPERMILPD/VPERMILPS immediate permutes This patch allows target shuffles to be combined to single input immediate permute instructions - (V)PSHUFD/VPERMILPD/VPERMILPS - allowing more general pattern matching than what we current do and improves the likelihood of memory folding compared to existing patterns which tend to reuse the input in multiple arguments. Further permute instructions (V)PSHUFLW/(V)PSHUFHW/(V)PERMQ/(V)PERMPD may be added in the future but its proven tricky to create tests cases for them so far. (V)PSHUFLW/(V)PSHUFHW is already handled quite well in combineTargetShuffle so it may be that removing some of that code may allow us to perform more of the combining in one place without duplication. Differential Revision: http://reviews.llvm.org/D21148 llvm-svn: 273999
* [ELF] - Implemented --no-undefined-version flagGeorge Rimar2016-06-285-7/+40
| | | | | | | | | | Option checks for cases where a version script explicitly lists a symbol, but the symbol is not defined and errors out such cases if any. Differential revision: http://reviews.llvm.org/D21745 llvm-svn: 273998
* [Driver] Add method to redirect output of Compilation.Nikolay Haustov2016-06-282-0/+14
| | | | | | | | | | | | | | | | | Summary: Currently output of child process, however in my use case, it needs to be captured and presented to the user. Add Redirect method to Compilation and use existing infrastructure for redirecting output of commands. Reviewers: tstellarAMD Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D21224 llvm-svn: 273997
* [BFI/MBFI]: cfg graph view with color scheme Xinliang David Li2016-06-283-4/+76
| | | | | | | | | | This patch enhances dot graph viewer to show hot regions with hot bbs/edges displayed in red. The ratio of the bb freq to the max freq of the function needs to be no less than the value specified by view-hot-freq-percent option. The default value is 10 (i.e. 10%). llvm-svn: 273996
* [X86 Target Lowering] Merged ICMP test.Elena Demikhovsky2016-06-282-31/+27
| | | | llvm-svn: 273995
* Revert r273950, (empty). Please recommit it with readable commit message.NAKAMURA Takumi2016-06-281-2/+0
| | | | llvm-svn: 273994
* clang-rename: Update libdeps corresponding to r273910.NAKAMURA Takumi2016-06-281-0/+1
| | | | llvm-svn: 273993
* [BFI]: enhance BFI graph dumpXinliang David Li2016-06-282-17/+23
| | | | | | | | | MBFI supports profile count dumping and function name based filtering. Add these two feature to BFI as well. The filtering option is shared between BFI and MBFI: -view-bfi-func-name=.. llvm-svn: 273992
* [LLE] Don't hoist conditionally executed loadsAdam Nemet2016-06-282-0/+53
| | | | | | | | If the load is conditional we can't hoist its 0-iteration instance to the preheader because that would make it unconditional. Thus we would access a memory location that the original loop did not access. llvm-svn: 273991
* [BFI]: graph viewer code refactoring Xinliang David Li2016-06-284-77/+97
| | | | | | | | | | | BFI and MBFI's dot traits class share most of the code and all future enhancement. This patch extracts common implementation into base class BFIDOTGraphTraitsBase. This patch also enables BFI graph to show branch probability on edges as MBFI does before. llvm-svn: 273990
* [ELF] Warn for duplicate symbols in version scripts instead of erroring out.Davide Italiano2016-06-282-4/+4
| | | | | | | | | Emitting an error in this case breaks real-world application (e.g. libreoffice). See http://reviews.llvm.org/D21555 for context. Differential Revision: http://reviews.llvm.org/D21781 llvm-svn: 273989
* [llvm-cov] Simplify; NFCVedant Kumar2016-06-281-4/+2
| | | | llvm-svn: 273988
* [clang-cl] Define _MSVC_LANGDavid Majnemer2016-06-282-6/+15
| | | | | | | | | | | Recently, Microsoft added support for a flag, /std, which controls which version of the language rules MSVC should use. MSVC hasn't updated __cplusplus though. Instead, they added a new macro, _MSVC_LANG, which is defined in a similar fashion to __cplusplus. This is used to indicate which mode the compiler is in. llvm-svn: 273987
* [intrin.h] Certain _Interlocked intrinsics return the old valueDavid Majnemer2016-06-281-12/+12
| | | | | | This fixes PR28326. llvm-svn: 273986
* Reapply "[llvm-cov] Add an -output-dir option for the show sub-command""Vedant Kumar2016-06-288-6/+138
| | | | | | | | | | | | | | | Passing -output-dir path/to/dir to llvm-cov show creates path/to/dir if it doesn't already exist, and prints reports into that directory. In function view mode, all views are written into path/to/dir/functions.$EXTENSION. In file view mode, all views are written into path/to/dir/coverage/$PATH.$EXTENSION. Changes since the initial commit: - Avoid accidentally closing stdout twice. llvm-svn: 273985
* NFC. Fix popular typo in comment 'deferencing' --> 'dereferencing'.Nick Lewycky2016-06-284-10/+10
| | | | | | Bonus changes, * placement in X86ISelLowering and 'exerce' -> 'exercise' in test. llvm-svn: 273984
OpenPOWER on IntegriCloud