| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 274034
|
|
|
|
| |
llvm-svn: 274033
|
|
|
|
|
|
|
|
|
|
| |
stop the
process.
<rdar://problem/26990309>
llvm-svn: 274032
|
|
|
|
|
|
| |
We want to be able to run the compiler-rt tests on stage2 build configurations in CI. This should enable that.
llvm-svn: 274031
|
|
|
|
| |
llvm-svn: 274030
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
- Test the '-o' alias for -output-dir.
- Use a helper method in a conditional.
- Add a period.
llvm-svn: 274028
|
|
|
|
| |
llvm-svn: 274027
|
|
|
|
|
|
|
| |
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-svn: 274025
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
It already has access to it.
While at it, rename it to isGVIndirectSymbol.
llvm-svn: 274023
|
|
|
|
| |
llvm-svn: 274022
|
|
|
|
| |
llvm-svn: 274021
|
|
|
|
| |
llvm-svn: 274020
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 274018
|
|
|
|
|
|
|
|
| |
This fixes PR27102.
Differential Revision: http://reviews.llvm.org/D18541
llvm-svn: 274017
|
|
|
|
| |
llvm-svn: 274016
|
|
|
|
| |
llvm-svn: 274015
|
|
|
|
|
|
| |
Obj-C/Darwin tests currently need this to avoid false positives.
llvm-svn: 274014
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 274011
|
|
|
|
|
|
| |
close-to-zero PC is found"). NFC.
llvm-svn: 274010
|
|
|
|
| |
llvm-svn: 274009
|
|
|
|
| |
llvm-svn: 274007
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 274005
|
|
|
|
|
|
| |
Patch by Cristina Cristescu.
llvm-svn: 274004
|
|
|
|
|
|
|
|
|
| |
-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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Address post-commit comment from H.J. Lu.
llvm-svn: 274000
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 273995
|
|
|
|
| |
llvm-svn: 273994
|
|
|
|
| |
llvm-svn: 273993
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
|
|
|
|
|
| |
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-svn: 273988
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This fixes PR28326.
llvm-svn: 273986
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Bonus changes, * placement in X86ISelLowering and 'exerce' -> 'exercise' in test.
llvm-svn: 273984
|