- Apr 08, 2014
-
-
Daniel Jasper authored
Before AllowShortFunctionsOnASingleLine could either be true, merging all functions, or false, merging no functions. This patch adds a third value "Inline", which can be used to only merge short functions defined inline in a class, i.e.: void f() { return 42; } class C { void f() { return 42; } }; llvm-svn: 205760 -
Alexander Kornienko authored
Summary: Sort errors by path, file offset and message. Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits Differential Revision: http://reviews.llvm.org/D3314 llvm-svn: 205759
-
Tim Northover authored
Confusingly, the NEON fmla instructions put the accumulator first but the scalar versions put it at the end (like the fma lib function & LLVM's intrinsic). This should fix PR19345, assuming there's only one issue. llvm-svn: 205758
-
Richard Smith authored
llvm-svn: 205757
-
Joerg Sonnenberger authored
in the wild on SH3. llvm-svn: 205756
-
Richard Smith authored
file that it doesn't use. llvm-svn: 205755
-
Elena Demikhovsky authored
llvm-svn: 205754
-
Andrew Trick authored
indirectly requires a function analysis. This bug was reported by Jason Kim. He included a test case here: http://reviews.llvm.org/D3312 llvm-svn: 205753
-
David Majnemer authored
Before, we would have conditional operators where one side of the operator would be of type RelocationTypeAMD64 and the other is of type RelocationTypeI386. GCC would noisly warn with -Wenum-compare diagnostic. Instead, refactor the code so it is more like the X86 ELF object writer. llvm-svn: 205752
-
Reid Kleckner authored
Fixes PR19301. Based on a patch from Steven Graf! llvm-svn: 205751
-
Greg Clayton authored
SBTarget::AddModule(const char *path, const char *triple, const char *uuid_cstr, const char *symfile); If "symfile" was filled in, it would cause us to not correctly add the module. Same goes for: SBTarget::AddModule(SBModuleSpec ...) Where you filled in the symfile. <rdar://problem/16529799> llvm-svn: 205750 -
Jim Grosbach authored
Punctuation, grammar, formatting, etc.. llvm-svn: 205749
-
Jim Grosbach authored
llvm-svn: 205748
-
Jim Grosbach authored
llvm-svn: 205747
-
David Majnemer authored
The IO normalizer would essentially lump I386 and AMD64 relocations together. Relocation types with the same numeric value would then get mapped in appropriately. For example: IMAGE_REL_AMD64_ADDR64 and IMAGE_REL_I386_DIR16 both have a numeric value of one. We would see IMAGE_REL_I386_DIR16 in obj2yaml conversions of object files with a machine type of IMAGE_FILE_MACHINE_AMD64. llvm-svn: 205746
-
DeLesley Hutchins authored
Implemented ownership policy, updated to use nullptr, const-cleanup. llvm-svn: 205745
-
Sean Silva authored
The TableGen docs have changed structure Patch by Tay Ray Chuan! llvm-svn: 205744
-
Sean Silva authored
docs/TableGen/ is not really just "fundamentals" anymore, but rather more of a portal for all things TableGen. llvm-svn: 205743
-
Sean Silva authored
llvm-svn: 205742
-
Reed Kotler authored
llvm-svn: 205741
-
Greg Clayton authored
<rdar://problem/16535437> llvm-svn: 205740
-
Greg Clayton authored
llvm-svn: 205739
-
Andrew Trick authored
Fixes PR16365 - Extremely slow compilation in -O1 and -O2. The SD scheduler has a quadratic implementation of load clustering which absolutely blows up compile time for large blocks with constant pool loads. The MI scheduler has a better implementation of load clustering. However, we have not done the work yet to completely eliminate the SD scheduler. Some benchmarks still seem to benefit from early load clustering, although maybe by chance. As an intermediate term fix, I just put a nice limit on the number of DAG users to search before finding a match. With this limit there are no binary differences in the LLVM test suite, and the PR16365 test case does not suffer any compile time impact from this routine. llvm-svn: 205738
-
Rui Ueyama authored
llvm-svn: 205737
-
Rui Ueyama authored
llvm-svn: 205736
-
Rui Ueyama authored
llvm-svn: 205735
-
Greg Clayton authored
Disable JITLoaderGDB on "vendor == apple" for now due to performance slowdowns for every first run process as a global name lookup in all shared libraries if performed. <rdar://problem/16542894> llvm-svn: 205734
-
DeLesley Hutchins authored
llvm-svn: 205733
-
Tom Stellard authored
llvm-svn: 205732
-
Tom Stellard authored
Moving these patterns from TableGen files to PerformDAGCombine() should allow us to generate better code by eliminating unnecessary shifts and extensions earlier. This also fixes a bug where the MAD pattern was calling SimplifyDemandedBits with a 24-bit mask on the first operand even when the full pattern wasn't being matched. This occasionally resulted in some instructions being incorrectly deleted from the program. v2: - Fix bug with 64-bit mul llvm-svn: 205731
-
Tom Stellard authored
llvm-svn: 205730
-
Reid Kleckner authored
This reverts r90596 from 2009. Having this macro definition makes Clang strictly less useful with -fms-extensions. llvm-svn: 205729
-
DeLesley Hutchins authored
This patch is the first part of a significant refactoring that seeks to restore sanity to way thread safety analysis deals with capability expressions. The current patch merely provides an outline of the structure of the new system. It's not yet connected to the actual analysis, so there's no change in functionality. llvm-svn: 205728
-
Reid Kleckner authored
This can actually be non-zero if you override a function from a virtual base and you have forced the most_general pointer to member representation. llvm-svn: 205727
-
Richard Smith authored
Using this file would result in an odr violation: it defines an llvm::Interval class that conflicts with the one in Analysis/Interval.h. llvm-svn: 205726
-
Richard Smith authored
the non-matching next line in the diagnostic to make the problem more obvious. llvm-svn: 205725
-
Matt Arsenault authored
llvm-svn: 205723
-
Matt Arsenault authored
llvm-svn: 205722
-
Jordan Rose authored
Found by Richard Osbourne! llvm-svn: 205721
-
Jordan Rose authored
Thanks, Alex! llvm-svn: 205720
-