- Feb 15, 2017
-
-
Stanislav Mekhanoshin authored
This patch reverts region's scheduling to the original untouched state in case if we have have decreased occupancy. In addition it switches to use TargetRegisterInfo occupancy callback for pressure limits instead of gradually increasing limits which were just passed by. We are going to stay with the best schedule so we do not need to tolerate worsened scheduling anymore. Differential Revision: https://reviews.llvm.org/D29971 llvm-svn: 295206
-
Jonas Devlieghere authored
llvm-svn: 295205
-
Michael Kruse authored
llvm-svn: 295204
-
Jonathan Peyton authored
This change allows the runtime to turn __kmp_yield() on/off repeatedly on Linux. This feature was removed when disabling monitor thread, but there are applications that perform better with this feature on. Patch by Hansang Bae Differential Revision: https://reviews.llvm.org/D29227 llvm-svn: 295203
-
Petr Hosek authored
This causing build failure on sanitizer bots because of the unused argument '-nostdinc++' during linking of libunwind. This reverts commit 0e14fd1a1d37b9c6d55a2d3bc7649e5b39ce74d3. llvm-svn: 295202
-
Pavel Labath authored
The change breaks on Windows and NetBSD bots. Revert while I investigate. llvm-svn: 295201
-
Anna Thomas authored
This reverts commit r294617. We fail on an assert while trying to get a condition from an unconditional branch. llvm-svn: 295200
-
Jonas Devlieghere authored
Summary: Replaces explicit calls to the constructor in a return with a braced initializer list. This way the return type is not needlessly duplicated in the return type and the return statement. ``` Foo bar() { Baz baz; return Foo(baz); } // transforms to: Foo bar() { Baz baz; return {baz}; } ``` Reviewers: hokein, Prazek, aaron.ballman, alexfh Reviewed By: Prazek, aaron.ballman, alexfh Subscribers: malcolm.parsons, mgorny, cfe-commits Tags: #clang-tools-extra Differential Revision: https://reviews.llvm.org/D28768 llvm-svn: 295199
-
Benjamin Kramer authored
llvm-svn: 295198
-
Michael Kruse authored
The Knowledge class remembers the state of data at any timepoint of a SCoP's execution. Currently, it tracks whether an array element is unused or is occupied by some value, and the writes to it. A future addition will be to also remember which value it contains. Objects are used to determine whether two Knowledge contain conflicting information, i.e. two states cannot be true a the same time. This commit was extracted from the DeLICM algorithm at https://reviews.llvm.org/D24716. llvm-svn: 295197
-
Benjamin Kramer authored
llvm-svn: 295196
-
Simon Pilgrim authored
llvm-svn: 295195
-
Benjamin Kramer authored
I don't think that this is necessary for correctness, but makes tsan much more useful. llvm-svn: 295194
-
Benjamin Kramer authored
Otherwise locking the mutex yields a racy assertion failure on picky implementations. llvm-svn: 295193
-
Malcolm Parsons authored
llvm-svn: 295192
-
Argyrios Kyrtzidis authored
Otherwise we may end up creating a different USR for the definition of a function, vs its declaration. llvm-svn: 295191
-
Pavel Labath authored
Summary: We currently have two log channel registration mechanisms. One uses a set of function pointers and the other one is based on the PluginManager. The PluginManager dependency is unfortunate, as logging is also used in lldb-server, and the PluginManager pulls in a lot of classes which are not used in lldb-server. Both approach have the problem that they leave too much to do for the user, and so the individual log channels end up reimplementing command line argument parsing, category listing, etc. Here, I replace the PluginManager-based approach with a one. The new API is more declarative, so the user only needs to specify the list of list of channels, their descriptions, etc., and all the common tasks like enabling/disabling categories are hadled by common code. I migrate the LogChannelDWARF (only user of the PluginManager method) to the new API. In the follow-up commits I'll replace the other channels with something similar. Reviewers: clayborg, zturner, beanz Subscribers: aprantl, lldb-commits Differential Revision: https://reviews.llvm.org/D29895 llvm-svn: 295190
-
Pavel Labath authored
Summary: It turns out listing each library twice is not enough to resolve all references in a debug build on linux - a number of executables fails to link with random symbols missing. Increasing the number to three seems to be enough. The choice of lldbCore to set the multiplicity on is somewhat arbitrary, but it seems fitting, as it is the biggest layering transgressor. Reviewers: beanz Subscribers: mgorny, lldb-commits Differential Revision: https://reviews.llvm.org/D29888 llvm-svn: 295189
-
David Bozier authored
llvm-svn: 295188
-
Benjamin Kramer authored
llvm-svn: 295187
-
Gabor Horvath authored
During the review of D29567 it turned out the caching in CallDescription is not implemented properly. In case an identifier does not exist in a translation unit, repeated identifier lookups will be done which might have bad impact on the performance. This patch guarantees that the lookup is only executed once. Moreover this patch fixes a corner case when the identifier of CallDescription does not exist in the translation unit and the called function does not have an identifier (e.g.: overloaded operator in C++). Differential Revision: https://reviews.llvm.org/D29884 llvm-svn: 295186
-
Sanjay Patel authored
llvm-svn: 295185
-
Benjamin Kramer authored
llvm-svn: 295184
-
Simon Pilgrim authored
llvm-svn: 295183
-
Simon Pilgrim authored
llvm-svn: 295182
-
Sanjay Patel authored
llvm-svn: 295181
-
Benjamin Kramer authored
Summary: This requires an accessible compilation database. The parsing is done asynchronously on a separate thread. Reviewers: klimek, krasimir Subscribers: cfe-commits, mgorny Differential Revision: https://reviews.llvm.org/D29886 llvm-svn: 295180
-
Sanjay Patel authored
llvm-svn: 295179
-
Haojian Wu authored
[clang-tidy] Ignore instantiated functions and static data members of classes in misc-definitions-in-headers. Reviewers: alexfh Reviewed By: alexfh Subscribers: JDevlieghere, cfe-commits Differential Revision: https://reviews.llvm.org/D29957 llvm-svn: 295178
-
Simon Pilgrim authored
llvm-svn: 295177
-
Malcolm Parsons authored
Summary: The misc-unconventional-assign-operator check had a false positive warning when the 'operator*' in 'return *this' was unresolved. Change matcher to allow calls to unresolved operator. Fixes PR31531. Reviewers: alexfh, aaron.ballman Subscribers: JDevlieghere, cfe-commits Differential Revision: https://reviews.llvm.org/D29393 llvm-svn: 295176
-
Asiri Rathnayake authored
When libcxxabi is built in LIBCXXABI_SILENT_TERMINATE mode, libcxx test suite reports two failures: std/depr/exception.unexpected/set.unexpected/get_unexpected.pass.cpp std/depr/exception.unexpected/set.unexpected/set_unexpected.pass.cpp This is because the default unexpected handler is set to std::abort instead of std::terminate which these tests expect. llvm-svn: 295175
-
David Bozier authored
Unit tests needed to check on the endianness of the host platform. (Test was failing for big endian hosts). llvm-svn: 295174
-
David Bozier authored
Changed format specifiers to use format macro constant for pointer type. Moved width part of format specifier in the correct place for formatting members a and b. Added a unit test to confirm the output. Differential Revision: https://reviews.llvm.org/D28957 llvm-svn: 295173
-
Serge Pavlov authored
llvm-svn: 295172
-
Pavel Labath authored
This resurrects TestModule.so which got lost during the move and is needed for the ModuleCache test. llvm-svn: 295171
-
Pavel Labath authored
Summary: GCC emits also symbols for the __PRETTY_FUNCTION__ virtual variable, which we accidentaly pick up when looking for functions for with "unique_function_name" in the name. This makes the target.FindFunctions call fail, as that symbol is not a function. I also strenghten the test a bit to make sure we actually find all the functions we are interested in. I've put a check that we find at least 6 functions, but maybe this should be *exactly* 6 ? Reviewers: clayborg Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D29932 llvm-svn: 295170
-
Simon Pilgrim authored
Add support for specifying an UNPCK input as ZERO, particularly improves ZEXT cases with non-zero offsets llvm-svn: 295169
-
Boris Ulasevich authored
Differential Revisions: https://reviews.llvm.org/D26497 (committed r290168, temporary reverted r290197) https://reviews.llvm.org/D28945 (fix for Ubuntu tests fail) https://reviews.llvm.org/D29909 (fix for TestCallThatThrows test fail) llvm-svn: 295168
-
Serge Pavlov authored
The case of extern inline functions in GNU89 mode is now handled in `canRedefineFunction`, which has appropriate comment. llvm-svn: 295167
-