- Jan 18, 2017
-
-
Simon Pilgrim authored
combineSRA doesn't detect sign bits splats that it does itself so just use -1 as the demanded input so that its already splatted llvm-svn: 292361
-
Pavel Labath authored
This adds the LLDB_LOG macro, which enables one to write more succinct log statements. if (log) log->Printf("log something: %d", var); becomes LLDB_LOG(log, "log something: {0}, var); The macro still internally does the "if(log)" dance, so the arguments are only evaluated if logging is enabled, meaning it has the same overhead as the previous syntax. Additionally, the log statements will be automatically prefixed with the file and function generating the log (if the corresponding new argument to the "log enable" command is enabled), so one does not need to manually specify this in the log statement. It also uses the new llvm formatv syntax, which means we don't have to worry about PRIx64 macros and similar, and we can log complex object (llvm::StringRef, lldb_private::Error, ...) more easily. Differential Revision: https://reviews.llvm.org/D27459 llvm-svn: 292360 -
Peter Smith authored
A necessary first step towards range extension thunks is to delay the creation of thunks until the layout of InputSections within OutputSections has been done. The change scans the relocations directly from InputSections rather than looking in the ELF File the InputSection came from. This will allow a future change to redirect the relocations to symbols defined by Thunks rather than indirect when resolving relocations. A side-effect of moving ThunkCreation is that the OutSecOff of InputSections may change in an OutputSection that contains Thunks. In well behaved programs thunks are not in OutputSections with dynamic relocations. Differential Revision: https://reviews.llvm.org/D28811 llvm-svn: 292359 -
Michael Zuckerman authored
This patch improves the mul instruction combine function (combineMul) by adding new layer of logic. In this patch, we are adding the ability to fold (mul x, -((1 << c) -1)) or (mul x, -((1 << c) +1)) into (neg(X << c) -x) or (neg((x << c) + x) respective. Differential Revision: https://reviews.llvm.org/D28232 llvm-svn: 292358
-
Renato Golin authored
Revert "[XRay][Arm] Repair XRay table emission on Arm32 and add tests to identify such problem earlier" This reverts commit r292210, as it broke the Thumb buldbot with: clang-5.0: error: the clang compiler does not support '-fxray-instrument on thumbv7-unknown-linux-gnueabihf'. llvm-svn: 292357
-
Renato Golin authored
This reverts commit r292211, as it broke the Thumb buldbot with: clang-5.0: error: the clang compiler does not support '-fxray-instrument on thumbv7-unknown-linux-gnueabihf' llvm-svn: 292356
-
Renato Golin authored
This reverts commit r292268, as it didn't fix the buildbots. llvm-svn: 292355
-
Jonas Paulsson authored
During post-RA pseudo expansion, an 'undef' flag of the source operand should be propagated by emitGRX32Move(). Review: Ulrich Weigand llvm-svn: 292353
-
Marina Yatsina authored
This patch fixes bugzilla 31576 (https://llvm.org/bugs/show_bug.cgi?id=31576). "data32" instruction prefix was not defined in the llvm. An exception had to be added to the X86 tablegen and AsmPrinter because both "data16" and "data32" are encoded to 0x66 (but in different modes). Differential Revision: https://reviews.llvm.org/D28468 llvm-svn: 292352
-
Eric Fiselier authored
There was a dumb mistake in the original commit that has now been fixed llvm-svn: 292351
-
Jonathan Peyton authored
llvm-svn: 292350
-
Jonathan Peyton authored
The lock tables were being reallocated if kmp_set_defaults() was called. In the env_init code it says that the user should be able to switch between different KMP_CONSISTENCY_CHECK values which is what this change enables. llvm-svn: 292349
-
Jonathan Peyton authored
There is no corresponding free() for this expandable array. The logic is added in __kmp_cleanup() next to the freeing of __kmp_nested_nth. llvm-svn: 292348
-
Eric Fiselier authored
The buildbots currently depend on the old configuration. I'll recommit once Zorg is fixed and reset llvm-svn: 292347
-
Eric Fiselier authored
llvm-svn: 292346
-
Eric Fiselier authored
Adding `path::operator=(string_type&&)` made the expression `p = {}` ambiguous. This path fixes that ambiguity by making the `string&&` overload a template so it ranks lower during overload resolution. llvm-svn: 292345 -
Petr Hosek authored
These two are independent: it's possible to use LLD without LTO, and it's possible to do LTO build without LLD. Differential Revision: https://reviews.llvm.org/D28821 llvm-svn: 292343
-
Eric Fiselier authored
llvm-svn: 292342
-
Eric Fiselier authored
llvm-svn: 292337
-
Rui Ueyama authored
This patch adds a test for an invalid output path for -Map option, though that test is not for verifying that we are using error() instead of fatal() in writeMapFile. llvm-svn: 292336
-
Aaron Watry authored
Ported from the amd-builtins branch. Signed-off-by:
Aaron Watry <awatry@gmail.com> Reviewed-by:
Matt Arsenault <Matthew.Arsenault@amd.com> CC: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 292335
-
Aaron Watry authored
Ported from the amd-builtins branch. Signed-off-by:
Aaron Watry <awatry@gmail.com> Reviewed-by:
Matt Arsenault <Matthew.Arsenault@amd.com> CC: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 292334
-
Chandler Carruth authored
follow LLVM's naming conventions while I'm here. Again, sorry I didn't spot this earlier to coalesce with other cleanup changes. llvm-svn: 292333
-
Chandler Carruth authored
deleted. I've expanded its test coverage a bit including adding one test that will crash clearly without this change. llvm-svn: 292332
-
Chandler Carruth authored
claims to test. LoopSimplify was unifying the multiple exits in this test case, making it never even test the multiple exit handling of LoopDeletion. Doh. Now it works (thanks to a great idea from mkuper) and will fail if we ever change something to make it stop working. llvm-svn: 292331
-
Peter Collingbourne authored
Although this relocation type is not part of the x86-64 psABI, I intend to use it internally as part of the ThinLTO implementation. Differential Revision: https://reviews.llvm.org/D28841 llvm-svn: 292330
-
Craig Topper authored
Verified that the backend codegens this equally well. llvm-svn: 292329
-
Matt Arsenault authored
llvm-svn: 292328
-
Wei Mi authored
llvm-svn: 292327
-
Eric Fiselier authored
llvm-svn: 292326
-
Kostya Serebryany authored
llvm-svn: 292325
-
Dan Gohman authored
The grow_memory instruction now returns the previous memory size. Add the return type to the clang intrinsic. llvm-svn: 292324
-
Pengxuan Zheng authored
Reviewers: zinob, hans, grosser Reviewed By: hans, grosser Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D28712 llvm-svn: 292323
-
Dan Gohman authored
The grow_memory instruction now returns the previous memory size. Add the return type to the LLVM intrinsic. llvm-svn: 292322
-
Matthias Braun authored
You can now define the register class of a virtual register on the operand itself avoiding the need to use a "registers:" block. Example: "%0:gr64 = COPY %rax" Differential Revision: https://reviews.llvm.org/D22398 llvm-svn: 292321
-
Eugene Zelenko authored
[Target, Transforms] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). llvm-svn: 292320
-
Kostya Serebryany authored
llvm-svn: 292319
-
Kostya Serebryany authored
llvm-svn: 292318
-
Justin Lebar authored
Reviewers: tra, majnemer Subscribers: llvm-commits, jholewinski Differential Revision: https://reviews.llvm.org/D28825 llvm-svn: 292316
-
Xin Tong authored
llvm-svn: 292315
-