- Mar 02, 2018
-
-
Matt Arsenault authored
Patch by Tom Stellard llvm-svn: 326477
-
Martin Storsjo authored
Make types with sizes that aren't a power of two an error (that can be disabled) in structs with ms_struct layout, except on mingw where the situation is quite likely to occur and GCC handles it silently. Differential Revision: https://reviews.llvm.org/D43908 llvm-svn: 326476
-
Craig Topper authored
llvm-svn: 326475
-
Craig Topper authored
llvm-svn: 326474
-
Matt Arsenault authored
Patch by Tom Stellard llvm-svn: 326472
-
Matt Arsenault authored
llvm-svn: 326471
-
Matt Arsenault authored
Patch by Tom Stellard llvm-svn: 326470
-
Saleem Abdulrasool authored
This is needed for building with the GNU driver (`clang++`) when targeting Windows and using msvcprt. This flag is the equivalent of `/GR-`. llvm-svn: 326469
-
Matt Arsenault authored
Patch by Tom Stellard llvm-svn: 326468
-
Matt Arsenault authored
Patch by Tom Stellard llvm-svn: 326467
-
Matt Arsenault authored
llvm-svn: 326466
-
Matt Arsenault authored
Patch by Tom Stellard llvm-svn: 326465
-
Matt Arsenault authored
Patch by Tom Stellard llvm-svn: 326464
-
Ed Maste authored
The argument is section=address, not just address. (For compatibility with GNU linkers we need to, but do not yet, accept --section-start=section=address.) llvm-svn: 326463
-
Artem Dergachev authored
Don't enable c++-temp-dtor-inlining by default yet, due to this reference counting pointe problem. Otherwise the new mode seems stable and allows us to incrementally fix C++ problems in much less hacky ways. Differential Revision: https://reviews.llvm.org/D43804 llvm-svn: 326461
-
Sam Clegg authored
The gcc builders were broken by rL326454 See: https://reviews.llvm.org/D43921 llvm-svn: 326460
-
Ed Maste authored
We intend to maintain compatibility with GNU ld, and in the GNU world long options are conventionally specified as --long-option=value. For whatever reason GNU ld.bfd accepts both --long-option value and --long-option=value, but documents the former. Follow suit. Some lld long options do not accept the = form; this is probably a bug to be fixed (along with a man page update). Reported by Ingo Schwarze, for --entry. llvm-svn: 326459
-
Eric Liu authored
llvm-svn: 326458
-
Artem Belevich authored
Now that patterns can handle intrinsics returning multiple results, use tablegen'ed pattern matching instead of custom lowering. Differential Revision: https://reviews.llvm.org/D43890 llvm-svn: 326457
-
Eric Liu authored
Summary: Symbols with different canonical includes might be defined in the same header (e.g. symbols defined in STL <iosfwd>). This patch adds support for mapping from qualified symbol names to canonical headers and special mapping for symbols in <iosfwd> Reviewers: sammccall, hokein Reviewed By: sammccall Subscribers: klimek, ilya-biryukov, jkorous-apple, cfe-commits Differential Revision: https://reviews.llvm.org/D43869 llvm-svn: 326456
-
Sam Clegg authored
Differential Revision: https://reviews.llvm.org/D43922 llvm-svn: 326455
-
Sam Clegg authored
The original BinaryEncoding.md document used to specify that these values were `varint7`, but the official spec lists them explicitly as single byte values and not LEB. A similar change for wabt is in flight: https://github.com/WebAssembly/wabt/pull/782 Differential Revision: https://reviews.llvm.org/D43921 llvm-svn: 326454
-
Zachary Turner authored
For now this is NFC, but this small refactor opens the door to letting us embed a hash of the PDB in the build id field of the PDB. Differential Revision: https://reviews.llvm.org/D43913 llvm-svn: 326453
-
Eric Liu authored
llvm-svn: 326452
-
Alexander Timofeev authored
Differential revision: https://reviews.llvm.org./D43334 llvm-svn: 326451
-
Krzysztof Parzyszek authored
llvm-svn: 326450
-
Pavel Labath authored
gcc will say that the type of "this" is "T * const", clang "T *". Compare the unqualified type names to erase the difference between the two, as the constness is not a part of this test. FWIW, I think that the gcc behavior makes more sense here. llvm-svn: 326449
-
Sanjay Patel authored
llvm-svn: 326448
-
Stefan Pintilie authored
Adding more instructions using InstRW so that we can move away from ItinRW and ultimately have a complete Power 9 scheduler. Differential Revision: https://reviews.llvm.org/D43899 llvm-svn: 326447
-
Ed Maste authored
Patch by Ingo Schwarze llvm-svn: 326446
-
- Mar 01, 2018
-
-
Nicholas Wilson authored
The ordering of llc's output was changed in rL326334. Differential Revision: https://reviews.llvm.org/D43941 llvm-svn: 326445
-
Sanjay Patel authored
llvm-svn: 326444
-
Sebastian Pop authored
when a BUILD_VECTOR is created out of a sequence of EXTRACT_VECTOR_ELT with a specific pattern sequence, either <0, 2, 4, ...> or <1, 3, 5, ...>, replace the BUILD_VECTOR with either vuzp1 or vuzp2. With this patch LLVM generates the following code for the first function fun1 in the testcase: adrp x8, .LCPI0_0 ldr q0, [x8, :lo12:.LCPI0_0] tbl v0.16b, { v0.16b }, v0.16b ext v1.16b, v0.16b, v0.16b, #8 uzp1 v0.8b, v0.8b, v1.8b str d0, [x8] ret Without this patch LLVM currently generates this code: adrp x8, .LCPI0_0 ldr q0, [x8, :lo12:.LCPI0_0] tbl v0.16b, { v0.16b }, v0.16b mov v1.16b, v0.16b mov v1.b[1], v0.b[2] mov v1.b[2], v0.b[4] mov v1.b[3], v0.b[6] mov v1.b[4], v0.b[8] mov v1.b[5], v0.b[10] mov v1.b[6], v0.b[12] mov v1.b[7], v0.b[14] str d1, [x8] ret llvm-svn: 326443 -
Sanjay Patel authored
This transform may be out-of-scope for instcombine, but this is only documenting the current behavior. llvm-svn: 326442
-
Rafael Espindola authored
With the current code if the script has a PHDRS we always obey and try to allocate a header. This can cause Min - HeaderSize to underflow. It looks like bfd actually prints an error for this case. With this patch we do the same. Found while looking at pr36515. llvm-svn: 326441
-
Sanjay Patel authored
llvm-svn: 326440
-
Ilya Biryukov authored
Originally submitted as r326323 and r326324. Reverted in r326432. Reverting the commit was a mistake. The breakage was due to invalid build files in our internal buildsystem, CMakeLists did not have any cyclic dependencies. llvm-svn: 326439
-
Hans Wennborg authored
llvm-svn: 326438
-
Tatyana Krasnukha authored
llvm-svn: 326437
-
Alexey Bataev authored
This reverts commit r326328 to remove checks for emission of certain sections after discussion with Eric Christofer. llvm-svn: 326436
-