- Jun 08, 2016
-
-
Rui Ueyama authored
llvm-svn: 272146
-
Saleem Abdulrasool authored
The architecture enumeration is shared across ARM and AArch64. However, the data is not. The code incorrectly would index into the array using the architecture index which was offset by the ARMv7 architecture enumeration. We do not have a marker for indicating the architectural family to which the enumeration belongs so we cannot be clever about offsetting the index (at least it is not immediately apparent to me). Instead, fall back to the tried-and-true method of slowly iterating the array (its not a large array, so the impact of this is not too high). Because of the incorrect indexing, if we were lucky, we would crash, but usually we would return an invalid StringRef. We did not have any tests for the AArch64 target parser previously;. Extend the previous tests I had added for ARM to cover AArch64 for ensuring that we return expected StringRefs. Take the opportunity to change some iterator types to references. This work is needed to support parsing `.arch name` directives in the AArch64 target asm parser. llvm-svn: 272145
-
Alexander Kornienko authored
Summary: Looks like the original code was copied from clang-format-diff.py. Update help message to make it clang-tidy specific. Reviewers: klimek, alexfh Subscribers: Eugene.Zelenko, cfe-commits Patch by Igor Sugak! Differential Revision: http://reviews.llvm.org/D21050 llvm-svn: 272144
-
Martin Probst authored
llvm-svn: 272143
-
Martin Probst authored
Summary: The JavaScript import sorter has a corner condition that can cause the overall source text length to shrink. This change circumvents the issue by appending trailing space in the line after the import blocks to match at least the previous source code length. This needs a better long term fix, but this fixes the immediate issue. Reviewers: alexeagle, djasper Subscribers: klimek Differential Revision: http://reviews.llvm.org/D21108 llvm-svn: 272142
-
Igor Breger authored
This will allow us to remove the x86 instrinics from the backend. Differential Revision: http://reviews.llvm.org/D21060 llvm-svn: 272141
-
Davide Italiano authored
llvm-svn: 272140
-
Davide Italiano authored
llvm-svn: 272139
-
Vasileios Kalintiris authored
llvm-svn: 272138
-
George Rimar authored
It was one line global static function that looks nicer to inline, patch do that. llvm-svn: 272137
-
Aaron Ballman authored
llvm-svn: 272136
-
Krzysztof Parzyszek authored
Also, switch to using functions from LiveIntervalAnalysis to update live intervals, instead of performing the updates manually. Re-committing r272045. llvm-svn: 272135
-
George Rimar authored
llvm-svn: 272134
-
George Rimar authored
That made few places in code a bit shorter. llvm-svn: 272133
-
Eric Liu authored
llvm-svn: 272132
-
George Rimar authored
llvm-svn: 272131
-
George Rimar authored
llvm-svn: 272130
-
George Rimar authored
llvm-svn: 272129
-
Daniel Marjamaki authored
[clang-tidy] misc-macro-parentheses - avoid adding parentheses in variable declarations Fixes bugzilla issues 26273 and 27399 Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D20853 llvm-svn: 272128
-
Diana Picus authored
isSwift is tested earlier and known to be false when we reach this code. llvm-svn: 272127
-
Benjamin Kramer authored
As suggested by clang-tidy's performance-unnecessary-copy-initialization. This can easily hit lifetime issues, so I audited every change and ran the tests under asan, which came back clean. llvm-svn: 272126
-
Daniel Jasper authored
This could lead to column limit violations. llvm-svn: 272125
-
Daniel Jasper authored
.. and simplify it. Before: void A::f()&& {} void f() && {} After: void A::f() && {} void f() && {} llvm-svn: 272124
-
Michael Zuckerman authored
Differential Revision: http://reviews.llvm.org/D21002 llvm-svn: 272123
-
Igor Breger authored
llvm-svn: 272122
-
Ekaterina Romanova authored
Only half of the intrinsics in this file is documented here. The patch for the o ther half will be sent out later. The doxygen comments are automatically generated based on Sony's intrinsics docu ment. I got an OK from Eric Christopher to commit doxygen comments without prior code review upstream. llvm-svn: 272121
-
George Rimar authored
Previously this test performed check of binary data. Since llvm-readobj currently able to dump all 3 types of version relative sections, that can be used to make this test more transparent. Patch do that. Differential revision: http://reviews.llvm.org/D21024 llvm-svn: 272120
-
Craig Topper authored
[AVX512] Reformat macro intrinsics, ensure arguments have proper typecasts, ensure result is typecasted back to the generic types. llvm-svn: 272119
-
Craig Topper authored
llvm-svn: 272118
-
Matt Arsenault authored
llvm-svn: 272117
-
Kostya Serebryany authored
llvm-svn: 272116
-
Matt Arsenault authored
Cleanup setup of subtarget features. llvm-svn: 272091
-
Kostya Serebryany authored
[libFuzzer] add a test that is built w/o coverage instrumentation but has the coverage rt (it should now fail with a descriptive message) llvm-svn: 272090
-
Vedant Kumar authored
- lprofCurFilename was intended to have external visibility. This is pending further discussion. - The raw version number doesn't need to be hidden: hiding it may make it easier to accidentally combine FE/IR profiles. See the mailing list discussion on r272081. llvm-svn: 272089
-
Kostya Serebryany authored
llvm-svn: 272088
-
Jim Ingham authored
IsPointedCString has problems with ValueObjects of type eTypeHostAddress. We should figure out the right thing to do in that case, but the test is silly here because we're reading a type we've defined, so we know it is a const char *, and if the memory is good, we won't be able to read any characters, when we do ReadPointedString. <rdar://problem/26612812> llvm-svn: 272087
-
Quentin Colombet authored
Long term we may want to give high cost at FPR to/from GPR copies. llvm-svn: 272086
-
Quentin Colombet authored
The generic implementation stated that all copies were free, which is unlikely. Now, only the copies within the same register bank are free. We assume they will get coalesced. llvm-svn: 272085
-
Quentin Colombet authored
The cost of a copy may be different based on how many bits we have to copy around. E.g., a 8-bit copy may be different than a 32-bit copy. llvm-svn: 272084
-
Quentin Colombet authored
This will allow code reuse in the coming commits. llvm-svn: 272083
-