- Feb 04, 2017
-
-
Eugene Zelenko authored
This is preparation to reduce MCExpr.h dependencies. llvm-svn: 294052
-
Eugene Zelenko authored
This is preparation to reduce MCExpr.h dependencies. llvm-svn: 294051
-
Sanjay Patel authored
The code comments didn't match the code logic, and we didn't actually distinguish the fake unary (not/neg/fneg) operators from arguments. Adding another level to the weighting scheme provides more structure and can help simplify the pattern matching in InstCombine and other places. I fixed regressions that would have shown up from this change in: rL290067 rL290127 But that doesn't mean there are no pattern-matching logic holes left; some combines may just be missing regression tests. Should fix: https://llvm.org/bugs/show_bug.cgi?id=28296 Differential Revision: https://reviews.llvm.org/D27933 llvm-svn: 294049
-
Rafael Espindola authored
Now that we combine multiple synthetic merge section into one output section there is no point in trying to propagate a value. llvm-svn: 294048
-
Artem Tamazov authored
llvm-svn: 294047
-
Zachary Turner authored
llvm-svn: 294046
-
Sanjay Patel authored
llvm-svn: 294040
-
Matt Arsenault authored
Use typedef, remove unnecessary enum, line wraps. llvm-svn: 294039
-
Matt Arsenault authored
llvm-svn: 294038
-
Kostya Kortchinsky authored
Summary: The local and global quarantine sizes were not offering a distinction for 32-bit and 64-bit platforms. This is addressed with lower values for 32-bit. When writing additional tests for the quarantine, it was discovered that when calling some of the allocator interface function prior to any allocation operation having occured, the test would crash due to the allocator not being initialized. This was addressed by making sure the allocator is initialized for those scenarios. Relevant tests were added in interface.cpp and quarantine.cpp. Last change being the removal of the extraneous link dependencies for the tests thanks to rL293220, anf the addition of the gc-sections linker flag. Reviewers: kcc, alekseyshl Reviewed By: alekseyshl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D29341 llvm-svn: 294037
-
Pavel Labath authored
llvm-svn: 294036
-
Mike Aizatsky authored
Reviewers: kcc Differential Revision: https://reviews.llvm.org/D29502 llvm-svn: 294035
-
Sanjay Patel authored
llvm-svn: 294034
-
Simon Dardis authored
Currently unsupported. llvm-svn: 294033
-
Stanislav Mekhanoshin authored
This has quite positive performance impact according to measurements. Before previous fixes to limit the optimization that was too high and blowed compile time and scratch usage, but now this is gone and we can bump the threshold. Differential Revision: https://reviews.llvm.org/D29505 llvm-svn: 294032
-
Matt Arsenault authored
llvm-svn: 294031
-
Matt Arsenault authored
This won't be elimnated, so this will just bloat code if/when these are ever used/supported. llvm-svn: 294030
-
Michael Kuperstein authored
llvm-svn: 294029
-
Ahmed Bougacha authored
This re-applies commit r292189, reverted in r292191. SelectionDAGBuilder recognizes libfuncs using some homegrown parameter type-checking. Use TLI instead, removing another heap of redundant code. This isn't strictly NFC, as the SDAG code was too lax. Concretely, this means changes are required to a few tests: - calling a non-variadic function via a variadic prototype isn't OK; it just happens to work on x86_64 (but not on, e.g., aarch64). - mempcpy has a size_t parameter; the SDAG code accepts any integer type, which meant using i32 on x86_64 worked. - a handful of SystemZ tests check the SDAG support for lax prototype checking: Ulrich agrees on removing them. I don't think it's worth supporting any of these (IMO) invalid testcases. Instead, fix them to be more meaningful. llvm-svn: 294028
-
Michael Kuperstein authored
This generalizes memory access sorting to use differences between SCEVs, instead of relying on constant offsets. That allows us to properly do SLP vectorization of non-sequentially ordered loads within loops bodies. Differential Revision: https://reviews.llvm.org/D29425 llvm-svn: 294027
-
Carlo Bertolli authored
https://reviews.llvm.org/D28243 The regression test was missing from the previous already accepted patch. llvm-svn: 294026
-
Charles Li authored
C++11 introduced constexpr, hence the change in diagnostics. Differential Revision: https://reviews.llvm.org/D29480 llvm-svn: 294025
-
Pavel Labath authored
it used printf with formatv style specifications. Also, switch to LLDB_LOG. llvm-svn: 294024
-
Pavel Labath authored
llvm-svn: 294023
-
Tim Northover authored
llvm-svn: 294022
-
Kevin Enderby authored
which caused a hang on a malformed binary with bad bind info. rdar://29672108 llvm-svn: 294021
-
Simon Pilgrim authored
Correctly flagging upper elements as undef. llvm-svn: 294020
-
Pavel Labath authored
Summary: - GetFileWithUUID: All platforms except PlatformDarwin had this. However, I see no reason why this code would not apply there as well. - GetProcessInfo, FindProcesses: The implementation was the same in all classes. - GetFullNameForDylib: This code should apply to all non-darwin platforms. I've kept the PlatformDarwin override as the situation is different there. Reviewers: clayborg, krytarowski, emaste Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D29496 llvm-svn: 294019
-
Simon Pilgrim authored
Make it clear these tests sign-extend the comparison result. Some patterns zero-extend to a bool result that we still need to handle. llvm-svn: 294018
-
Anna Thomas authored
llvm-svn: 294017
-
Peter Collingbourne authored
Currently these flags are always the inverse of each other, so there is no need to keep them separate. Differential Revision: https://reviews.llvm.org/D29471 llvm-svn: 294016
-
Peter Collingbourne authored
Differential Revision: https://reviews.llvm.org/D29470 llvm-svn: 294015
-
Peter Collingbourne authored
The importer was previously using ModuleLinker in a sort of "IRMover mode". Use IRMover directly instead in order to remove a level of indirection. I will remove all importing support from ModuleLinker in a separate change. Differential Revision: https://reviews.llvm.org/D29468 llvm-svn: 294014
-
Peter Collingbourne authored
Differential Revision: https://reviews.llvm.org/D29482 llvm-svn: 294013
-
- Feb 03, 2017
-
-
Simon Dardis authored
The .end <symbol> directive for MIPS marks the end of a symbol and sets the symbol's size. Previously, the corresponding emitDirective handler asserted that a function's size could be evaluated to an absolute value at that point in time. This cannot be done with when directives like .align have been encountered, instead set the function's size to the corresponding symbolic expression and let ELFObjectWriter resolve the expression to an absolute value. This avoids a redundant call to evaluateAsAbsolute. llvm-svn: 294012
-
Justin Lebar authored
Reviewers: tra Subscribers: jholewinski, llvm-commits Differential Revision: https://reviews.llvm.org/D29477 llvm-svn: 294011
-
Justin Lebar authored
llvm-svn: 294010
-
Daniel Jasper authored
llvm-svn: 294009
-
Alex Lorenz authored
After r260016 and r260017 disabled typo correction for ivars and properties clang didn't report errors about unresolved identifier in the base of ivar and property ref expressions. This meant that clang invoked CodeGen on invalid AST which then caused a crash. This commit re-enables typo correction for ivars and properites, and fixes the PR25113 & PR26486 (that were originally fixed in r260017 and r260016) in a different manner by transforming the Objective-C ivar reference expression with 'IsFreeIvar' preserved. rdar://30310772 llvm-svn: 294008
-
Daniel Sanders authored
The instruction selector has been emitting the register bank information too. llvm-svn: 294007
-