- Oct 04, 2016
-
-
Kostya Serebryany authored
llvm-svn: 283185
-
Craig Topper authored
llvm-svn: 283184
-
Vitaly Buka authored
This reverts commit r282994. llvm-svn: 283183
-
Vitaly Buka authored
This reverts commit r283094. llvm-svn: 283182
-
Vitaly Buka authored
This reverts commit r283093. llvm-svn: 283181
-
Vitaly Buka authored
This reverts commit r283092. llvm-svn: 283180
-
Vitaly Buka authored
This reverts commit r283141. llvm-svn: 283179
-
Kostya Serebryany authored
[libFuzzer] change the probabilities so that we choose only the inputs that are known to be minimal inputs for at least one coverage feature (works only with -shrink=1 for now) llvm-svn: 283178
-
Matt Arsenault authored
Allow inserting multiple instructions in the expanded loop. llvm-svn: 283177
-
Zachary Turner authored
I missed an if/else branch when doing the conversion. llvm-svn: 283176
-
Matt Arsenault authored
llvm-svn: 283175
-
Rui Ueyama authored
I do not fully understand how to use these classes yet, but seems like these arguments are not used, since without them all tests still pass. In order to simplify the situation, I'll remove them now. llvm-svn: 283174
-
Rui Ueyama authored
llvm-svn: 283173
-
Kyle Butt authored
This reverts commit ff234efbe23528e4f4c80c78057b920a51f434b2. Causing crashes on aarch64 build. llvm-svn: 283172
-
Pavel Labath authored
Summary: Use os.getcwd() instead of get_process_working_directory() as prefix for souce file. Reviewers: labath Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D25217 llvm-svn: 283171
-
Gor Nishanov authored
Summary: Look for coroutine_traits and friends in std::experimental namespace. Patch (mostly) by EricWF. Reviewers: cfe-commits, EricWF, rsmith Subscribers: majnemer, mehdi_amini Differential Revision: https://reviews.llvm.org/D25068 llvm-svn: 283170
-
Brian Gesiak authored
Summary: The minimum version of Python necessary to run the LLVM test suite is 2.7. Code to work around Python 2.5 and lower isn't necessary. Reviewers: ddunbar, echristo, delcypher, beanz Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D25209 llvm-svn: 283169
-
Zachary Turner authored
llvm-svn: 283168
-
Enrico Granata authored
Fix the data formatter for std::multiset in libc++ - this is a trivial amount of extra change on top of multimap Also, proper formatting.. llvm-svn: 283167
-
Vitaly Buka authored
llvm-svn: 283166
-
Eli Friedman authored
Slightly improves the precision of GlobalsAA in certain situations, and makes the behavior of optimization passes more predictable. Differential Revision: https://reviews.llvm.org/D24104 llvm-svn: 283165
-
Kyle Butt authored
The tail duplication pass uses an assumed layout when making duplication decisions. This is fine, but passes up duplication opportunities that may arise when blocks are outlined. Because we want the updated CFG to affect subsequent placement decisions, this change must occur during placement. In order to achieve this goal, TailDuplicationPass is split into a utility class, TailDuplicator, and the pass itself. The pass delegates nearly everything to the TailDuplicator object, except for looping over the blocks in a function. This allows the same code to be used for tail duplication in both places. This change, in concert with outlining optional branches, allows triangle shaped code to perform much better, esepecially when the taken/untaken branches are correlated, as it creates a second spine when the tests are small enough. llvm-svn: 283164
-
Marshall Clow authored
llvm-svn: 283163
-
Marshall Clow authored
Change a couple of 'template <typename's to 'template <class' which is what we use in the rest of the library. llvm-svn: 283162
-
Marshall Clow authored
Add tests to make sure that is_constructible<cv-void> is false. We already checked 'unqualified void'. This was brought up by LWG#2738 llvm-svn: 283161
-
Enrico Granata authored
Fixes rdar://28237486 llvm-svn: 283160
-
Zachary Turner authored
Mostly this involves simplifying some logical constructs and using some ranges instead of index-based iteration. NFC llvm-svn: 283159
-
George Burgess IV authored
We now build MemorySSA in its ctor, instead of waiting until the user calls MemorySSA::getWalker. This silently changed our unittests, since we add BasicAA to AAResults *after* constructing MemorySSA (...but before calling MemorySSA::getWalker). None of them broke because we do most of our "did this get optimized correctly?" tests in .ll files. llvm-svn: 283158
-
Zachary Turner authored
There were a number of issues with the Args class preventing efficient use of strings and incoporating LLVM's StringRef class. The two biggest were: 1. Backing memory stored in a std::string, so we would frequently have to use const_cast to get a mutable buffer for passing to various low level APIs. 2. backing std::strings stored in a std::list, which doesn't provide random access. I wanted to solve these two issues so that we could provide StringRef access to the underlying arguments, and also a way to provide range-based access to the underlying argument array while still providing convenient c-style access via an argv style const char**. The solution here is to store arguments in a single "entry" class which contains the backing memory, a StringRef with precomputed length, and the quote char. The backing memory is a manually allocated const char* so that it is not invalidated when the container is resized, and there is a separate argv array provided for c-style access. Differential revision: https://reviews.llvm.org/D25099 llvm-svn: 283157
-
Todd Fiala authored
Since we count on it in a few places, the test verifies that the test instance has an id() method that returns something non-None. llvm-svn: 283156
-
Gor Nishanov authored
Summary: With this commit simple coroutines can be created in plain C using coroutine builtins. Reviewers: rnk, EricWF, rsmith Subscribers: modocache, mgorny, mehdi_amini, beanz, cfe-commits Differential Revision: https://reviews.llvm.org/D24373 llvm-svn: 283155
-
Dan Gohman authored
WebAssembly has officially switched from being an AST to being a stack machine. Update various bits of terminology and README.md entries accordingly. llvm-svn: 283154
-
Dan Gohman authored
The comment is present inside the body of GetVRegDef. llvm-svn: 283153
-
Chris Bieneman authored
Summary: optparse is deprecated in Python 2.7, which is the minimum version of Python required to run the LLVM test suite. Replace its usage in lit with argparse, optparse's 2.7 replacement module. argparse has several benefits over optparse, but this commit does not make use of those benefits yet. Instead, it simply uses the new API, and attempts to keep the number of changes to a minimum. Confirmed that lit's test suite, as well as LLVM's regression test suite, still pass with these changes. Patch By Brian Gesiak! Reviewers: ddunbar, echristo, beanz, delcypher Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D25173 llvm-svn: 283152
-
Matthias Braun authored
This is to avoid problems with win32 + ELF which surprisingly happens a lot in practice: If a user just specifies -march on the commandline the object format changes along with the architecture to ELF in many instances while the OS stays with the default/host OS. llvm-svn: 283151
-
Dan Gohman authored
llvm-svn: 283150
-
Matthias Braun authored
This avoids llc using the hosts OS/vendor as defaults and triggering unwanted behaviour in the tests. This should deal with the buildbot breakages on windows after r283140. llvm-svn: 283149
-
Mehdi Amini authored
llvm-svn: 283148
-
Dan Gohman authored
llvm-svn: 283147
-
Dan Gohman authored
WebAssembly documentation consistently says "f32" rather than "fp32" to describe 32-bit floating-point. llvm-svn: 283146
-