- Jan 29, 2016
-
-
Sanjoy Das authored
llvm-svn: 259204
-
Sanjoy Das authored
I missed porting these in rL259129. llvm-svn: 259203
-
Zoran Jovanovic authored
Author: obucina Reviewers: dsanders Differential Revision: http://reviews.llvm.org/D16323 llvm-svn: 259202
-
Jonas Paulsson authored
The buildSchedGraph() was in need of reworking as the AA features had been added on top of earlier code. It was very difficult to understand, and buggy. There had been found cases where scheduling dependencies had actually been missed (see r228686). AliasChain, RejectMemNodes, adjustChainDeps() and iterateChainSucc() have been removed. There are instead now just the four maps from Value to SUs, which have been renamed to Stores, Loads, NonAliasStores and NonAliasLoads. An unknown store used to become the AliasChain, but now becomes a store mapped to 'unknownValue' (in Stores). What used to be PendingLoads is instead the list of SUs mapped to 'unknownValue' in Loads. RejectMemNodes and adjustChainDeps() used to be a safety-net for everything. The SU maps were sometimes cleared and SUs were put in RejectMemNodes, where adjustChainDeps() would look. Instead of this, a more straight forward approach is used in maintaining the SU maps without clearing them and simply letting them grow over time. Instead of the cutt-off in adjustChainDeps() search, a reduction of maps will be done if needed (see below). Each SUnit either becomes the BarrierChain, or is put into one of the maps. For each SUnit encountered, all the information about previous ones are still available until a new BarrierChain is set, at which point the maps are cleared. For huge regions, the algorithm becomes slow, therefore the maps will get reduced at a threshold (current default is 1000 nodes), by a fraction (default 1/2). These values can be tuned by use of CL options in case some test case shows that they need to be changed (-dag-maps-huge-region and -dag-maps-reduction-size). There has not been any considerable change observed in output quality or compile time. There may now be more DAG edges inserted than before (i.e. if A->B->C, then A->C is not needed). However, in a comparison run there were fewer total calls to AA, and a somewhat improved compile time, which means this seems to be not a problem. http://reviews.llvm.org/D8705 Reviewers: Hal Finkel, Andy Trick. llvm-svn: 259201
-
Alexander Kornienko authored
Patch by Felix Berger! Differential revision: http://reviews.llvm.org/D13849 llvm-svn: 259199
-
Alexander Kornienko authored
llvm-svn: 259198
-
Alexander Kornienko authored
Summary: "checkParamTypes" may fail if the the type of some parameter is not canonical. Fixed it by comparing canonical types. And added "getCanonicalType()" and "getCanonicalDecl()" on more places to prevent potential fail. Reviewers: alexfh Subscribers: cfe-commits Patch by Cong Liu! Differential Revision: http://reviews.llvm.org/D16587 llvm-svn: 259197
-
Alexander Kornienko authored
llvm-svn: 259196
-
Alexander Kornienko authored
Summary: This is implemented originally by Alex Pilkiewicz (pilki@google.com). Reviewers: alexfh Subscribers: cfe-commits Patch by Haojian Wu! Differential Revision: http://reviews.llvm.org/D16721 llvm-svn: 259195
-
Aaron Ballman authored
llvm-svn: 259194
-
Ben Craig authored
Instead of excluding all known operating systems that are not derived from BSD, I now include all operating systems that claim to be derived from BSD. Hopefully, that will make it so that this check doesn't need to change for every new operating system that comes along. http://reviews.llvm.org/D16634 llvm-svn: 259193
-
Yaron Keren authored
llvm-svn: 259192
-
Benjamin Kramer authored
Still ugly, but at least Use.h is self-contained again. llvm-svn: 259191
-
Benjamin Kramer authored
llvm-svn: 259190
-
Eugene Leviant authored
Fix crash in lldb-mi when stack variable name is nullptr. This always happens when execution stops in try scope with unnamed catch clause llvm-svn: 259189
-
Pavel Labath authored
Summary: The BUILD_SHARED_LIBS branch of lldb-server link flags was hopelessly broken, at least since we started restricting the symbols exported by liblldb. lldb-server depends on symbols from the lldb_private namespace, so it cannot link to the public interface of liblldb. Instead I make it link to the individual libraries constituting liblldb, just like it does in the !BUILD_SHARED_LIBS case. This does not make the BUILD_SHARED_LIBS build of lldb fully functional yet, due to the way liblldb dependencies are managed, but it's a step in that direction. Reviewers: zturner, tfiala Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D16678 llvm-svn: 259188
-
Benjamin Kramer authored
This can be used as a way to modify argv[0] for a clang tool. Differential Revision: http://reviews.llvm.org/D16718 llvm-svn: 259187
-
George Rimar authored
Replace StringRef with std::string in LinkerDriver::addLibrary(StringRef Name) because std::string is destroyed after assigning what fills the buffer with garbage and StringRef is no more valid. That fixes few failing tests under windows+msvs2015(debug). llvm-svn: 259186
-
Eugene Leviant authored
llvm-svn: 259185
-
Ulrich Weigand authored
The test is failing on SystemZ since different IR is being generated due to platform ABI differences. Add a target triple. Fix suggested by Anastasia Stulova. llvm-svn: 259183
-
Alexandros Lamprineas authored
The trap instruction is emitted as a data-in-text rather than an instruction. This patch uses the .inst directive for emitting trap. Differential Revision: http://reviews.llvm.org/D16684 llvm-svn: 259182
-
Ewan Crawford authored
Patch deletes the 'language renderscript module probe' command. This command was present in the initial commit to help debug the plugin. However we haven't used it recently and it's functionality is unclear, so can be removed entirely. Also add back 'kernel coordinate' command, removed by accident in clang format patch r259056. llvm-svn: 259181
-
Matt Arsenault authored
The known bit matching code seems to work reasonably well, so these shouldn't really be needed. llvm-svn: 259180
-
George Burgess IV authored
Also removed a few redundant `else`s. Bug was found by a test I wrote for MemorySSA (in review at http://reviews.llvm.org/D7864; shiny update coming soon). So, assuming that lands at some point, this should be covered by that. If anyone feels this deserves its own explicit test case, please let me know. I'll write one. llvm-svn: 259179
-
Eric Christopher authored
llvm-svn: 259178
-
Eric Christopher authored
check that the sign extended constant fits into 16-bits if we want a zero extended value, otherwise go ahead and put it together piecemeal. Fixes PR26356. llvm-svn: 259177
-
Eric Christopher authored
llvm-svn: 259176
-
Akira Hatanaka authored
This patch enables llvm-bcanalyzer to print the bitcode wrapper header if the file has one, which is needed to test the changes made in r258627 (bitcode-wrapper-header-armv7m.ll is the test case for r258627). Differential Revision: http://reviews.llvm.org/D16642 llvm-svn: 259162
-
David Majnemer authored
Our cleanups do not support true lexical nesting of funclets which obviates the need to perform state stores. This fixes PR26361. llvm-svn: 259161
-
Nathan Wilson authored
Diagnose if the return type of a function concept or declaration type of a variable concept is not bool. Reviewers: hubert.reinterpretcast Differential Revision: http://reviews.llvm.org/D16163 llvm-svn: 259159
-
Rui Ueyama authored
llvm-svn: 259158
-
Rui Ueyama authored
llvm-svn: 259157
-
Craig Topper authored
llvm-svn: 259156
-
Rui Ueyama authored
To remove empty functions. llvm-svn: 259155
-
Rui Ueyama authored
llvm-svn: 259154
-
Chaoren Lin authored
Summary: m_function_name will contain a dummy name for the auto-generated function from the python script on Linux. Check for script name first. Reviewers: granata.enrico Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D16703 llvm-svn: 259153
-
Matthias Braun authored
llvm-svn: 259152
-
Matthias Braun authored
llvm-svn: 259151
-
Rui Ueyama authored
This patch also fixes parameter name. They points to the beginning of PLT or GOT tables, so GotAddr or PltAddr are better.) llvm-svn: 259150
-
Rui Ueyama authored
llvm-svn: 259149
-