- Sep 21, 2017
-
-
Davide Italiano authored
Follow-up suggested by Peter Smith. llvm-svn: 313850
-
Zachary Turner authored
Many editors and Python-related diagnostics tools such as debuggers break or fail in mysterious ways when python files don't end in .py. This is especially true on Windows, but still exists on other platforms. I don't want to be too heavy handed in changing everything across the board, but I do want to at least *allow* lit configs to have .py extensions. This patch makes the discovery process first look for a config file with a .py extension, and if one is not found, then looks for a config file using the old method. So for existing users, there should be no functional change. Differential Revision: https://reviews.llvm.org/D37838 llvm-svn: 313849
-
Craig Topper authored
llvm-svn: 313848
-
Craig Topper authored
llvm-svn: 313847
-
Davide Italiano authored
llvm-svn: 313846
-
Vitaly Buka authored
llvm-svn: 313845
-
Vitaly Buka authored
"nested bug in the same thread" is not expected in case like this and was caused by https://github.com/google/sanitizers/issues/858 llvm-svn: 313844
-
Vitaly Buka authored
llvm-svn: 313843
-
Michael Kruse authored
Since -polly-codegen reports itself to preserve DependenceInfo and IslAstInfo, we might get those analysis that were computed by a different ScopInfo for a different Scop structure. This would be unfortunate because DependenceInfo and IslAstInfo hold references to resources allocated by ScopInfo/ScopBuilder/Scop (e.g. isl_id). If -polly-codegen and DependenceInfo/IslAstInfo do not agree on which Scop to use, unpredictable things can happen. When the ScopInfo/Scop object is freed, there is a high probability that the new ScopInfo/Scop object will be created at the same heap position with the same address. Comparing whether the Scop or ScopInfo address is the expected therefore is unreliable. Instead, we compare the address of the isl_ctx object. Both, DependenceInfo and IslAstInfo must hold a reference to the isl_ctx object to ensure it is not freed before the destruction of those analyses which might happen after the destruction of the Scop/ScopInfo they refer to. Hence, the isl_ctx will not be freed and its address not reused as long there is a DependenceInfo or IslAstInfo around. This fixes llvm.org/PR34441 llvm-svn: 313842
-
Davide Italiano authored
Fixes PR34660. Differential Revision: https://reviews.llvm.org/D38053 llvm-svn: 313841
-
Craig Topper authored
This replaces a ConstantInt dyn_cast with m_APInt Differential Revision: https://reviews.llvm.org/D38100 llvm-svn: 313840
-
Craig Topper authored
llvm-svn: 313839
-
Sam Clegg authored
Summary: This manifested itself in lld since it meant that weak symbols were not appearing in archive symbol tables. Subscribers: jfb, dschuff, jgravelle-google, aheejin Differential Revision: https://reviews.llvm.org/D38111 llvm-svn: 313838
-
Adrian Prantl authored
llvm-svn: 313837
-
Adrian Prantl authored
llvm-svn: 313836
-
Vitaly Buka authored
Summary: Fixes https://github.com/google/sanitizers/issues/858 Reviewers: eugenis, dvyukov Subscribers: kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D38019 llvm-svn: 313835
-
Marek Sokolowski authored
Fix (r313790) missing ulittle{}_t error on some buildbots. llvm-svn: 313834 -
Marek Sokolowski authored
Another fix-up for r313790. Big-endian hosts swapped byte order in UTF16 words. llvm-svn: 313833
-
Rafael Espindola authored
We were only including the thin archive members used via a lazy symbol before. llvm-svn: 313832
-
Matt Morehouse authored
Summary: Eliminate unnecessary instrumentation at __sanitizer_dtor_callback call sites. Fixes https://github.com/google/sanitizers/issues/861. Reviewers: eugenis, kcc Reviewed By: eugenis Subscribers: vitalybuka, llvm-commits, cfe-commits, hiraditya Differential Revision: https://reviews.llvm.org/D38063 llvm-svn: 313831
-
Dave Lee authored
Summary: The documentation refers to a boolean that controls whether response files are handled, but this is incorrect. Since r165535, response files are always enabled. Reviewers: compnerd, rafael Reviewed By: compnerd Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38095 llvm-svn: 313830
-
Sanjay Patel authored
I noticed this inefficiency while investigating PR34603: https://bugs.llvm.org/show_bug.cgi?id=34603 This fix will likely push another bug (we don't maintain state of 'LateSimplifyCFG') into hiding, but I'll try to clean that up with a follow-up patch anyway. llvm-svn: 313829
-
Erich Keane authored
__interface types are allowed in MSVC to have "property" data members (marked with declspec property). This patch alters Sema to allow property data members. Differential Revision: https://reviews.llvm.org/D38092 llvm-svn: 313828
-
Richard Smith authored
This implements the proposed approach in https://github.com/itanium-cxx-abi/cxx-abi/issues/33 llvm-svn: 313827
-
Reid Kleckner authored
llvm-svn: 313826
-
Reid Kleckner authored
Summary: This implements the design discussed on llvm-dev for better tracking of variables that live in memory through optimizations: http://lists.llvm.org/pipermail/llvm-dev/2017-September/117222.html This is tracked as PR34136 llvm.dbg.addr is intended to be produced and used in almost precisely the same way as llvm.dbg.declare is today, with the exception that it is control-dependent. That means that dbg.addr should always have a position in the instruction stream, and it will allow passes that optimize memory operations on local variables to insert llvm.dbg.value calls to reflect deleted stores. See SourceLevelDebugging.rst for more details. The main drawback to generating DBG_VALUE machine instrs is that they usually cause LLVM to emit a location list for DW_AT_location. The next step will be to teach DwarfDebug.cpp how to recognize more DBG_VALUE ranges as not needing a location list, and possibly start setting DW_AT_start_offset for variables whose lifetimes begin mid-scope. Reviewers: aprantl, dblaikie, probinson Subscribers: eraman, hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D37768 llvm-svn: 313825
-
Vedant Kumar authored
llvm-svn: 313824
-
Eugene Zelenko authored
[ARM] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes (NFC). llvm-svn: 313823
-
Saleem Abdulrasool authored
This reverts commit SVN r313668. The original test case attempted to write a pointer value into 16-bits, although the value may exceed the range representable in 16-bits. Ensure that the symbol is located in the address space such that its absolute address is representable in 16-bits. This should fix the assertion failure that was seen on the Windows hosts. llvm-svn: 313822
-
Sanjay Patel authored
llvm-svn: 313821
-
Artem Belevich authored
Differential Revision: https://reviews.llvm.org/D38090 llvm-svn: 313820
-
Craig Topper authored
We already did (X & C2) > C1 --> (X & C2) != 0, if any bit set in (X & C2) will produce a result greater than C1. But there is an equivalent inverse condition with <= C1 (which will be canonicalized to < C1+1) Differential Revision: https://reviews.llvm.org/D38065 llvm-svn: 313819
-
Craig Topper authored
llvm-svn: 313818
-
Sam Clegg authored
Differential Revision: https://reviews.llvm.org/D38096 llvm-svn: 313817
-
Marek Sokolowski authored
Fix-up for r313790. Some buildbots couldn't convert size_t to uint{}_t; do it manually. llvm-svn: 313816 -
Simon Atanasyan authored
llvm-svn: 313815
-
Matt Arsenault authored
llvm-svn: 313814
-
Saleem Abdulrasool authored
The Swift CC is identical to Win64 CC with the exception of swift error being passed in r12 which is a CSR. However, since this calling convention is only used in swift -> swift code, it does not impact interoperability and can be treated entirely as Win64 CC. We would previously incorrectly lower the frame setup as we did not treat the frame as conforming to Win64 specifications. llvm-svn: 313813
-
Matt Arsenault authored
These write to the low and high half of the destination register and leave the other 16-bits unchanged. This is true for most 16-bit instructions on gfx9, but we don't use that now. llvm-svn: 313812
-
Jan Vesely authored
Signed-off-by:
Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by:
Aaron Watry <awatry@gmail.com> Tested-by:
Aaron Watry <awatry@gmail.com> llvm-svn: 313811
-