| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Introduced DIMacro and DIMacroFile debug info metadata in the LLVM IR to support macros.
Differential Revision: http://reviews.llvm.org/D14687
llvm-svn: 255245
|
|
|
|
| |
llvm-svn: 255244
|
|
|
|
|
|
|
|
|
| |
The motivation is:
1. consistency with clang-format, vim :sort etc.
2. we don't want the tools to depend on the current locale to do the include
sorting
llvm-svn: 255243
|
|
|
|
|
|
|
|
|
| |
Some targets (e.g. Mips) don't have 64-bit atomics, so using atomic_uint64_t
leads to build failures. Use atomic_uintptr_t to avoid such errors.
Patch by Max Ostapenko.
llvm-svn: 255242
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
LAA uses the PredicatedScalarEvolution interface, so it can produce
forward/backward dependences having SCEVs that are AddRecExprs only after being
transformed by PredicatedScalarEvolution.
Use PredicatedScalarEvolution to get the expected expressions.
Reviewers: anemet
Subscribers: llvm-commits, sanjoy
Differential Revision: http://reviews.llvm.org/D15382
llvm-svn: 255241
|
|
|
|
|
|
|
|
|
|
|
|
| |
These architectures already using the gold linker for the android
framework and switching to gold gives us the opportunity to enable ICF.
Safe ICF (identical code folding) reduces the size of an optimized and
striped binary by ~5%.
Differential revision: http://reviews.llvm.org/D15379
llvm-svn: 255240
|
|
|
|
|
|
|
| |
Patch creates a member function that decides when to JIT all the details about an allocation.
By checking for zero pointers we can avoid the situation where we store uninitialised data from previously inspecting the allocation during creation.
llvm-svn: 255238
|
|
|
|
| |
llvm-svn: 255237
|
|
|
|
|
|
|
|
|
|
|
|
| |
SymbolReaper was destroying the symbol too early when it was referenced only
from an index SVal of a live ElementRegion.
In order to test certain aspects of this patch, extend the debug.ExprInspection
checker to allow testing SymbolReaper in a direct manner.
Differential Revision: http://reviews.llvm.org/D12726
llvm-svn: 255236
|
|
|
|
|
|
|
|
| |
List all sections removed by garbage collection. This option is only effective if garbage collection has been enabled via the `--gc-sections' option.
Differential revision: http://reviews.llvm.org/D15327
llvm-svn: 255235
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SystemZ needs to do its scheduling after branch relaxation, which can
only happen after block placement, and therefore the standard
PostRAScheduler point in the pass sequence is too early.
TargetMachine::targetSchedulesPostRAScheduling() is a new method that
signals on returning true that target will insert the final scheduling
pass on its own.
Reviewed by Hal Finkel
llvm-svn: 255234
|
|
|
|
|
|
|
|
|
| |
If R_386_PLT32 relocation is applied against symbol that can not be preempted then it can be resolved statically.
Patch implements it for x86 target.
Differential revision: http://reviews.llvm.org/D15376
llvm-svn: 255233
|
|
|
|
|
|
| |
instead of just unsigned. Removes a few explicit casts. NFC
llvm-svn: 255232
|
|
|
|
| |
llvm-svn: 255231
|
|
|
|
|
|
| |
Patch by Max Ostapenko.
llvm-svn: 255230
|
|
|
|
|
|
| |
Predetermined data-shared attributes for local variables are now considered as implicit. Also, patch prohibits changin of DSA for static memebers of classes.
llvm-svn: 255229
|
|
|
|
|
|
|
|
| |
Patch by Max Ostapenko.
Differential Revision: http://reviews.llvm.org/D15080
llvm-svn: 255228
|
|
|
|
|
|
| |
This commit broke apple's internal bot.
llvm-svn: 255227
|
|
|
|
|
|
|
|
|
|
| |
- This simplifies the CallSite class, arg_begin / arg_end are now
simple wrapper getters.
- In several places, we were creating CallSite instances solely to call
arg_begin and arg_end. With this change, that's no longer required.
llvm-svn: 255226
|
|
|
|
|
|
|
| |
The complete dtor is only emitted when there is a virtual destructor. The test
itself was incorrect, so the issue in the code was not noticed.
llvm-svn: 255225
|
|
|
|
|
|
| |
mixed. NFC
llvm-svn: 255224
|
|
|
|
|
|
|
| |
Patch turns on OpenMP support in clang by default after fixing OpenMP buildbots.
Differential Revision: http://reviews.llvm.org/D13803
llvm-svn: 255223
|
|
|
|
|
|
|
| |
Patch turns on OpenMP support in clang by default after fixing OpenMP buildbots.
Differential Revision: http://reviews.llvm.org/D13802
llvm-svn: 255222
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
initializer list
https://llvm.org/bugs/show_bug.cgi?id=24694
http://wg21.link/cwg1591
Teach DeduceFromInitializerList in SemaTemplateDeduction.cpp to deduce against array (constant and dependent sized) parameters (really, reference to arrays since they don't decay to pointers), by checking if the template parameter is either one of those kinds of arrays, and if so, deducing each initializer list element against the element type, and then deducing the array bound if needed.
In brief, this patch enables the following code:
template<class T, int N> int *f(T (&&)[N]);
int *ip = f({1, 2, 3});
llvm-svn: 255221
|
|
|
|
|
|
|
|
| |
ISD::FCOPYSIGN permits its operands to have differing types, and DAGCombiner
uses this. Add some def : Pat rules to expand this out into an explicit
conversion and a normal copysign operation.
llvm-svn: 255220
|
|
|
|
|
|
| |
It is lowered to a libcall for now, but this is expected to change in the future.
llvm-svn: 255219
|
|
|
|
|
|
|
|
|
| |
supported correctly.
All problems described in http://llvm.org/PR25636 are implemented except for return value of the 'put' property. This patch fixes this problem with the indexed properties
Differential Revision: http://reviews.llvm.org/D15174
llvm-svn: 255218
|
|
|
|
| |
llvm-svn: 255205
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This allows us to remove the END_OF_TEXT_LABEL hack we had been using
and simplifies the fixups used to compute the address of constant
arrays.
Reviewers: arsenm
Subscribers: arsenm, llvm-commits
Differential Revision: http://reviews.llvm.org/D15257
llvm-svn: 255204
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: The 's' constraint represents sgprs and the 'v' constraint represents vgprs.
Reviewers: arsenm, echristo
Subscribers: arsenm, llvm-commits
Differential Revision: http://reviews.llvm.org/D15342
llvm-svn: 255203
|
|
|
|
| |
llvm-svn: 255202
|
|
|
|
|
|
|
|
| |
Duplicating it can lead to labels being defined twice.
Differential revision: http://reviews.llvm.org/D15399
llvm-svn: 255201
|
|
|
|
|
|
| |
-fmax-unknown-pointer-align => -fmax-type-align
llvm-svn: 255200
|
|
|
|
|
|
| |
will be normalized to ./xxx. I don't know how to test this in a way that will work in a separated source/output environment, but it seems reasonable to assume that -I options won't be for provate directories.
llvm-svn: 255199
|
|
|
|
|
|
|
|
|
|
| |
implicitly-concatenated string literals. When looking for the start of a token
in the inline assembly, start from the end of the previous token, not the start
of the entire string.
Patch by Yunlian Jiang!
llvm-svn: 255198
|
|
|
|
|
|
| |
We can now select sign_extend_inreg
llvm-svn: 255197
|
|
|
|
|
|
|
|
| |
This is the 5th Lit test patch.
Expanded expected diagnostics to vary by C++ dialect.
Expanded RUN line to: default, C++98/03 and C++11.
llvm-svn: 255196
|
|
|
|
|
|
|
|
| |
Detecting additional dead-defs without a dead flag that are only visible
through liveness information should be part of the register operand
collection not intertwined with the register pressure update logic.
llvm-svn: 255192
|
|
|
|
| |
llvm-svn: 255191
|
|
|
|
| |
llvm-svn: 255190
|
|
|
|
|
|
|
| |
Printf is a builtin, and the check fails with -Werror because of a clang
warning about an incompatible redeclaration.
llvm-svn: 255189
|
|
|
|
|
|
|
| |
Printf is a builtin, and the check fails with -Werror because of a clang
warning about an incompatible redeclaration.
llvm-svn: 255188
|
|
|
|
|
|
|
| |
Printf is a builtin, and the check fails with -Werror because of a clang
warning about an incompatible redeclaration.
llvm-svn: 255187
|
|
|
|
|
|
|
| |
Printf is a builtin, and the check fails with -Werror because of a clang
warning about an incompatible redeclaration.
llvm-svn: 255186
|
|
|
|
|
|
| |
overloads
llvm-svn: 255185
|
|
|
|
|
|
|
|
| |
libraries."
This reverts r255170. This change caused a bunch of bot failures and needs to be revised.
llvm-svn: 255184
|
|
|
|
|
|
| |
This makes debugging configuration issues way easier.
llvm-svn: 255183
|
|
|
|
|
|
|
|
| |
Target-specific instructions may have uninteresting physreg clobbers,
for target-specific reasons. The peephole pass doesn't need to concern
itself with such defs, as long as they're implicit and marked as dead.
llvm-svn: 255182
|
|
|
|
| |
llvm-svn: 255181
|
|
|
|
| |
llvm-svn: 255180
|