- Apr 09, 2014
-
-
Filipe Cabecinhas authored
This reverts commit r205839. It broke several tests in lld. llvm-svn: 205857
-
Arnold Schwaighofer authored
The vectorizer only knows how to vectorize intrinics by widening all operands by the same factor. Patch by Tyler Nowicki! llvm-svn: 205855
-
Samuel Benzaquen authored
Summary: Extend the check to detect patterns like 'ptr.get() == nullptr' It detects == and != when any argument is a ptr.get() and the other is a nullptr. Only supports standard smart pointer types std::unique_ptr and std::shared_ptr. Does not support the case 'ptr.get() == other.get()' yet. Reviewers: djasper CC: cfe-commits, alexfh Differential Revision: http://llvm-reviews.chandlerc.com/D3294 llvm-svn: 205854
-
Daniel Jasper authored
llvm-svn: 205853
-
Viktor Kutuzov authored
llvm-svn: 205852
-
Daniel Jasper authored
Before: static StructInitInfo module = {MODULE_BUILTIN, /* type */ "streams" /* name */ }; After: static StructInitInfo module = { MODULE_BUILTIN, /* type */ "streams" /* name */ }; This fixes llvm.org/PR19378. llvm-svn: 205851 -
Elena Demikhovsky authored
Implemented INSERT_VECTOR_ELT operation for v16i1 and v8i1 vectors; Implemented "store" for i1 type llvm-svn: 205850
-
Daniel Jasper authored
Before, it would turn: SomeFunction([]() { // Cool function.. return 43; }); Into this: SomeFunction([]() { // Cool function.. return 43; }); llvm-svn: 205849 -
Daniel Jasper authored
Before: SomeFunction([]() { int i = 42; return i; }, []() { int j = 43; return j; }); After: SomeFunction([]() { int i = 42; return i; }, []() { int j = 43; return j; }); llvm-svn: 205848 -
Viktor Kutuzov authored
llvm-svn: 205847
-
Daniel Jasper authored
Before: void aaaaaaaaaaaaaa(aaaaaaaa aaa) override AAAAAAAAAAAAAAAAAAAAAAAA( aaaaaaaaaaaaaaa); After: void aaaaaaaaaaaaaa(aaaaaaaa aaa) override AAAAAAAAAAAAAAAAAAAAAAAA(aaaaaaaaaaaaaaa); llvm-svn: 205846 -
Daniel Jasper authored
More precisely keep all short annotations (<10 characters) on the same line if possible. Previously, clang-format would only prefer to do so for "const", "override" and "final". However, it seems to be generally preferable, especially because some codebases have to wrap those in macros for backwards compatibility. Before: void someLongFunction(int someLongParameter) OVERRIDE {} After: void someLongFunction( int someLongParameter) OVERRIDE {} This fixes llvm.org/PR19363. llvm-svn: 205845 -
Daniel Sanders authored
Summary: They behave in accordance with the Has2008 and ABS2008 configuration bits of the processor which are used to select between the 1985 and 2008 versions of IEEE 754. In 1985 mode, these instructions are arithmetic (i.e. they raise invalid operation exceptions when given NaN), in 2008 mode they are non-arithmetic (i.e. they are copies). nmadd.[ds], and nmsub.[ds] are still subject to -enable-no-nans-fp-math because the ISA spec does not explicitly state that they obey Has2008 and ABS2008. Fixed the issue with the previous version of this patch (r205628). A pre-existing 'let Predicate =' statement was removing some predicates that were necessary for FP64 to behave correctly. Reviewers: matheusalmeida Reviewed By: matheusalmeida Differential Revision: http://llvm-reviews.chandlerc.com/D3274 llvm-svn: 205844
-
Daniel Jasper authored
Previously, this did not look through trailing comments leading to a few formatting oddities. llvm-svn: 205843
-
Daniel Jasper authored
llvm-svn: 205842
-
NAKAMURA Takumi authored
llvm-svn: 205841
-
NAKAMURA Takumi authored
llvm-svn: 205840
-
David Majnemer authored
YAMLIO would turn a BinaryRef into the string 0000000004000000. However, the leading zero causes parsers to interpret it as being an octal number instead of a hexadecimal one. Instead, escape such strings as needed. llvm-svn: 205839
-
Tobias Grosser authored
llvm-svn: 205838
-
Matt Arsenault authored
llvm-svn: 205837
-
Tim Northover authored
This is the second part of fixing PR19367. llvm-svn: 205836
-
Tim Northover authored
This should fix PR19367. llvm-svn: 205835
-
Saleem Abdulrasool authored
Add type name mappings for the ARM COFF relocations. This allows for objdump to provide a more useful description of relocations in disassembly inline form. llvm-svn: 205834
-
Saleem Abdulrasool authored
llvm-svn: 205833
-
Saleem Abdulrasool authored
llvm-svn: 205832
-
Craig Topper authored
[C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr. llvm-svn: 205831
-
Craig Topper authored
llvm-svn: 205830
-
Craig Topper authored
llvm-svn: 205829
-
Richard Trieu authored
llvm-svn: 205828
-
Jordan Rose authored
This also includes some infrastructure to make it easier to build multi-argument selectors, rather than trying to use string matching on each piece. There's a bit more setup code, but less cost at runtime. PR18908 llvm-svn: 205827
-
Rui Ueyama authored
Differential Revision: http://reviews.llvm.org/D3322 llvm-svn: 205826
-
Sean Callanan authored
dbg_value intrinsics appropriately. <rdar://problem/16504649> llvm-svn: 205825
-
Greg Clayton authored
Fixed module spec matching to not try to compare the platform path if there isn't one in the ModuleSpec that is asked if it matches. <rdar://problem/16558568> llvm-svn: 205816
-
Warren Hunt authored
On linux strings have different linkage than on windows. This patch makes the lit test more general. llvm-svn: 205812
-
David Majnemer authored
Summary: Local common symbols were properly inserted into the .bss section. However, putting external common symbols in the .bss section would give them a strong definition. Instead, encode them as undefined, external symbols who's symbol value is equivalent to their size. Reviewers: Bigcheese, rafael, rnk CC: llvm-commits Differential Revision: http://reviews.llvm.org/D3324 llvm-svn: 205811
-
Warren Hunt authored
This patch adds support for the msvc pragmas section, bss_seg, code_seg, const_seg and data_seg as well as support for __declspec(allocate()). Additionally it corrects semantics and adds diagnostics for __attribute__((section())) and the interaction between the attribute and the msvc pragmas and declspec. In general conflicts should now be well diganosed within and among these features. In supporting the pragmas new machinery for uniform lexing for msvc pragmas was introduced. The new machinery always lexes the entire pragma and stores it on an annotation token. The parser is responsible for parsing the pragma when the handling the annotation token. There is a known outstanding bug in this implementation in C mode. Because these attributes and pragmas apply _only_ to definitions, we process them at the time we detect a definition. Due to tentative definitions in C, we end up processing the definition late. This means that in C mode, everything that ends up in a BSS section will end up in the _last_ BSS section rather than the one that was live at the time of tentative definition, even if that turns out to be the point of actual definition. This issue is not known to impact anything as of yet because we are not aware of a clear use or use case for #pragma bss_seg but should be fixed at some point. Differential Revision=http://reviews.llvm.org/D3065#inline-16241 llvm-svn: 205810
-
DeLesley Hutchins authored
by Aaron Ballman. llvm-svn: 205809
-
Matt Arsenault authored
(aext (zextload x)) -> (aext (truncate (*extload x))) Patch by Stanislav Mekhanoshin! llvm-svn: 205805
-
Sebastian Pop authored
llvm-svn: 205804
-
Jim Ingham authored
but by the time we go to halt, it has already stopped by hitting the function end breakpoint. That wasn't being shown to the threads so the Function call thread plan didn't know its job was done. <rdar://problem/16515785> llvm-svn: 205803
-