- Mar 01, 2017
-
-
NAKAMURA Takumi authored
Unfortunately, mingw's libstdc++ doesn't provide winsock2 errors. That said, we should avoid raising OS-oriented error code in our code. For now, I suggest to define custom error from std::error_category. See also; https://reviews.llvm.org/D20592 llvm-svn: 296581
-
Sean Silva authored
Thanks to Rafael for helping to dig down into what we're really trying to communicate here. llvm-svn: 296580
-
Tobias Grosser authored
We mark it as XFAIL to get buildbots back to green, until the upstream changes have been addressed. llvm-svn: 296579
-
Adam Nemet authored
The practice in LV is that we emit analysis remarks and then finally report either a missed or applied remark on the final decision whether vectorization is taking place. On this code path, we were closing with an analysis remark. llvm-svn: 296578
-
Rui Ueyama authored
Each input section knows its sh_entsize value, so we can set output section's sh_entsize based on input sections values. llvm-svn: 296577
-
Shoaib Meenai authored
Use the libc++abi visibility macros instead of pragmas or using visibility attributes directly. Clean up redundant attributes on definitions (where the declarations already have visibility attributes applied, from either libc++ or libc++abi headers). Introduce _LIBCXXABI_WEAK as a drive-by cleanup, which matches the semantics of _LIBCPP_WEAK. No functional change. Tested by building on Linux before and after this change and verifying that the list of exported symbols is identical. Differential Revision: https://reviews.llvm.org/D26949 llvm-svn: 296576
-
Mohammad Shahid authored
for VectorizeTree() API.This API uses it for proper mask computation to be used in shufflevector IR. The fix is to compute the mask for out of order memory accesses while building the vectorizable tree instead of actual vectorization of vectorizable tree. Reviewers: mkuper Differential Revision: https://reviews.llvm.org/D30159 Change-Id: Id1e287f073fa4959713ba545fa4254db5da8b40d llvm-svn: 296575
-
Matt Arsenault authored
Modify the test so that it is still testing something closer to what it was intended to originally. I think the original intent was to test the situation where there was a branch on execz and then unconditional branch required relaxing.With the change in r296539, there was no longer and execz branch. Change the test so that there is now an execz branch inserted. There is no longer an unconditional branch after the execz branch, so this might need to be tricked in some other way to keep that there. llvm-svn: 296574
-
Petr Hosek authored
Differential Revision: https://reviews.llvm.org/D30278 llvm-svn: 296573
-
Richard Trieu authored
The exisiting warning for inconsistent overrides does not include the destructor as it was noted in review that it was too noisy. Instead, add to a separate warning group that is off by default for users who want consistent warnings between methods and destructors. llvm-svn: 296572
-
Eric Fiselier authored
llvm-svn: 296571
-
Rui Ueyama authored
This implementation is probably slightly inefficient than before, but that should be negligible because this is not a performance- critical pass. llvm-svn: 296570
-
Daniel Berlin authored
clang-format GenericDomTreeConstruction.h, since the current formatting makes it look like their is a bug in the loop indentation, and there is not llvm-svn: 296569
-
Eric Fiselier authored
llvm-svn: 296568
-
Eric Fiselier authored
This patch adds the required leading underscore to those macros. llvm-svn: 296567
-
Eric Fiselier authored
This patch adds a static assertion that the specified hash meets the requirements of an enabled hash, and it ensures that the static assertion is evaluated before __compressed_pair is instantiated. That way the static assertion diagnostic is emitted first. llvm-svn: 296565
-
Daniel Berlin authored
llvm-svn: 296564
-
Daniel Berlin authored
Summary: Fix issue reported where intrinsic calling convention is dropped after r295253. Reviewers: sanjoy Subscribers: materi, llvm-commits Differential Revision: https://reviews.llvm.org/D30422 llvm-svn: 296563
-
Devin Coughlin authored
Fix a crash in the ObjCPropertyChecker when analyzing a 'copy' property of an NSMutable* type in a protocol. rdar://problem/30766684 Differential Revision: https://reviews.llvm.org/D30482 llvm-svn: 296562
-
Eric Fiselier authored
This patch fixes llvm.org/PR32097 by using the __is_abstract builtin type-trait instead of the previous library-only implementation. All supported compilers provide this trait. I've tested as far back as Clang 3.2, GCC 4.6 and MSVC trunk. llvm-svn: 296561
-
Zachary Turner authored
GCC Linker doesn't seem to like this. llvm-svn: 296560
-
Eugene Zelenko authored
llvm-svn: 296559
-
Michael Park authored
Summary: `ConstexprTestTypes::NoCtors` is an aggregate type (and consequently a literal type) in C++17, but not in C++14 since it has a base class. This patch updates the comment to accurately describe the reason for the XFAIL. Reviewers: EricWF Reviewed By: EricWF Differential Revision: https://reviews.llvm.org/D30481 llvm-svn: 296558
-
Zachary Turner authored
llvm-svn: 296557
-
Zachary Turner authored
A bug was uncovered where if you have a StreamRef whose ViewOffset is > 0, then when you call readLongestContiguousChunk it will succeed even when it shouldn't, and it always return you a buffer that was taken as if the ViewOffset was 0. Fixed this bug and added a test for it. llvm-svn: 296556
-
Zachary Turner authored
llvm-svn: 296555
-
Paul Robinson authored
Reapplies r296209 now that r296549 has fixed what really seems to be the last problematic test. llvm-svn: 296554
-
Adam Nemet authored
llvm-svn: 296553
-
Ahmed Bougacha authored
When SDAGISel (top-down) selects a tail-call, it skips the remainder of the block. If, before that, FastISel (bottom-up) selected some of the (no-op) next few instructions, we can end up with dead instructions following the terminator (selected by SDAGISel). We need to erase them, as we know they aren't necessary (in addition to being incorrect). We already do this when FastISel falls back on the tail-call itself. Also remove the FastISel-emitted code if we fallback on the instructions between the tail-call and the return. llvm-svn: 296552
-
Ahmed Bougacha authored
Iterating on the use-list we're modifying doesn't work: after the first iteration, the use-list iterator will point to a MachineOperand referencing the new register. This caused us to skip the other uses to replace. Instead, use MRI.replaceRegWith(), which accounts for this behavior. llvm-svn: 296551
-
Paul Robinson authored
llvm-svn: 296550
-
Charles Li authored
Differential Revision: https://reviews.llvm.org/D30430 llvm-svn: 296549
-
Jason Molenda authored
review patches etc from his clayborg email address. llvm-svn: 296548
-
Adam Nemet authored
The asm-printer now emits remarks with function location which have unspecified (0) source column number. llvm-svn: 296547
-
Adam Nemet authored
This reverts commit r296544. This got committed by accident. llvm-svn: 296546
-
Adam Nemet authored
llvm-svn: 296544
-
Adrian Prantl authored
Conflicting debug info for function arguments causes hard-to-debug assertions in the DWARF backend, so the Verifier should reject it. For performance reasons this only checks function arguments from non-inlined debug intrinsics for now. rdar://problem/30520286 This reapplies r295749 after fixing PR32042. llvm-svn: 296543
-
Martell Malone authored
Differential Revision: https://reviews.llvm.org/D29445 llvm-svn: 296542
-
Paul Robinson authored
This is for running the assembler with -g (to emit DWARF describing the assembler source). Differential Revision: http://reviews.llvm.org/D30475 llvm-svn: 296541
-
Dan Gohman authored
To facilitate this, add a new hidden command-line option to disable the explicit-locals pass. That causes llc to emit invalid code that doesn't have all locals converted to get_local/set_local, however it simplifies testwriting in many cases. llvm-svn: 296540
-