- Oct 27, 2017
-
-
Rui Ueyama authored
llvm-svn: 316734
-
Rui Ueyama authored
llvm-svn: 316733
-
Rui Ueyama authored
llvm-svn: 316732
-
Rui Ueyama authored
llvm-svn: 316731
-
Rui Ueyama authored
Previously, EhFrameSection pushes data to EhFrameHdr by calling addFde function. By making EhFrameHdr pull data from EhFrameSection, we can eliminate a member from EhFrameHdr. llvm-svn: 316730
-
Rui Ueyama authored
llvm-svn: 316729
-
Pavel Labath authored
Summary: Using the in-tree clang should be the default test configuration as that is the one compiler that we can be sure everyone has (better reproducibility of test results). Also, it should hopefully reduce the impact of pr35040. This also reduces the number of settings which control the compiler used. LLDB_TEST_C_COMPILER is used for C files and LLDB_TEST_CXX_COMPILER for C++ files. Both of the settings default to the in-tree clang. Reviewers: zturner Subscribers: mgorny, davide, lldb-commits Differential Revision: https://reviews.llvm.org/D39215 llvm-svn: 316728
-
Jason Molenda authored
llvm-svn: 316727
-
Rui Ueyama authored
In a rare situation, the function can fail (e.g. it fails if it cannot open /dev/urandom.) llvm-svn: 316726
-
Sam Clegg authored
llvm-svn: 316725
-
Eugene Zelenko authored
[Transforms] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). llvm-svn: 316724
-
Volodymyr Sapsai authored
Fixes an assertion failure when ivar is a struct containing incomplete array. Also completes support for direct flexible array members. rdar://problem/21054495 Reviewers: rjmccall, theraven Reviewed By: rjmccall Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D38774 llvm-svn: 316723
-
Reid Kleckner authored
llvm-svn: 316722
-
Balaram Makam authored
This reverts commit r316711. The domtree isn't getting updated correctly. llvm-svn: 316721
-
Alex Shlyapnikov authored
llvm-svn: 316720
-
Sam Clegg authored
Differential Revision: https://reviews.llvm.org/D39218 llvm-svn: 316719
-
Craig Topper authored
sse4 is valid for target attribute and functions as an alias of sse4.2. llvm-svn: 316718
-
Sam Clegg authored
This ensures that each segment has a unique address. Without this, consecutive zero sized symbols would end up with the same address and the linker cannot map symbols to unique data segments. Differential Revision: https://reviews.llvm.org/D39107 llvm-svn: 316717
-
Rui Ueyama authored
llvm-svn: 316716
-
David Blaikie authored
InstructionSelectorImpl.h: Modularize/remove ODR violations by using a static member function to expose the debug name llvm-svn: 316715
-
David Blaikie authored
Pointer traits require a full definition of a type to function correctly, so the header must be included rather than only a forward declaration. llvm-svn: 316714
-
Nico Weber authored
clang currently uses .init_array instead of .ctors on Linux if it detects gcc 4.7+. Make it so that it also uses .init_array if no gcc installation is found at all – if there's no old gcc, there's nothing we need to be compatible with. icecc for example runs clang in a very small chroot, so before this change clang would use .ctors if run under icecc. And lld currently silently mislinks inputs with .ctors sections, so before this clang + icecc + lld would produce broken binaries. (But this seems like a good change independent of that lld bug.) https://reviews.llvm.org/D39317 llvm-svn: 316713
-
Craig Topper authored
I think the only reason they are different is because we don't set tune_i686 for -march=i686 to match GCC. But GCC 4.9.0 seems to have changed this behavior and they do set it now. So I think they can aliases now. Differential Revision: https://reviews.llvm.org/D39349 llvm-svn: 316712
-
Balaram Makam authored
Summary: Currently we skip merging when extra moves may be added in the header of switch instead of the case block, if the case block is used as an incoming block of a PHI. If all the incoming values of the PHIs are non-constants and the destination block is dominated by the switch block then extra moves are likely not added by ISel, so there is no need to skip merging in this case. Reviewers: efriedma, junbuml, davidxl, hfinkel, qcolombet Reviewed By: efriedma Subscribers: dberlin, kuhar, mcrosier, llvm-commits Differential Revision: https://reviews.llvm.org/D37343 llvm-svn: 316711
-
Rui Ueyama authored
Because of the same reason as r316600, I don't think we need a guard against empty relocations. llvm-svn: 316710
-
Philip Reames authored
llvm-svn: 316709
-
Eli Friedman authored
As far as I can tell, this matches gcc: -mfloat-abi determines the calling convention for all functions except those explicitly defined as soft-float in the ARM RTABI. This change only affects cases where the user specifies -mfloat-abi to override the default calling convention derived from the target triple. Fixes https://bugs.llvm.org//show_bug.cgi?id=34530. Differential Revision: https://reviews.llvm.org/D38299 llvm-svn: 316708
-
Rui Ueyama authored
llvm-svn: 316707
-
David Blaikie authored
These headers have static variables in them, which would easily create ODR violations if the header was included in another header, and the constants were used by an inline function, for example. llvm-svn: 316706
-
Craig Topper authored
[X86][Driver] Move all of the X86 feature flags to one spot in the Options.td file and pair them up with their negations. It looks like at one time Options.td was in alphabetical order, but that looks to have long been broken. The result is that it all the no- x86 options got separated from their other friends for no good reason. This patch puts them all together in one place with the no- paired with its none negated version. I've kept all the SSE and AVX/AVX512 bits together since they represent a somewhat linear progression of features. The rest I just put in alphabetical order after. Differential Revision: https://reviews.llvm.org/D39341 llvm-svn: 316705
-
Vedant Kumar authored
Instead of only setting a non-zero debug location on the return instruction in *_helper_block functions, set a proper location on all instructions within these functions. Pick the start location of the block literal expr for maximum clarity. The debugger does not step into *_helper_block functions during normal single-stepping because we mark their parameters as artificial. This is what we want (the functions are implicitly generated and uninteresting to most users). The stepping behavior is unchanged by this patch. rdar://32907581 Differential Revision: https://reviews.llvm.org/D39310 llvm-svn: 316704
-
Dehao Chen authored
Summary: There are certain requirements for debug location of debug intrinsics, e.g. the scope of the DILocalVariable should be the same as the scope of its debug location. As a result, we should not add discriminator encoding for debug intrinsics. Reviewers: dblaikie, aprantl Reviewed By: aprantl Subscribers: JDevlieghere, aprantl, bjope, sanjoy, llvm-commits Differential Revision: https://reviews.llvm.org/D39343 llvm-svn: 316703
-
Craig Topper authored
If the extend type is 64-bits, emit a 32-bit -> 64-bit extend after the UDIVREM8_ZEXT_HREG/UDIVREM8_SEXT_HREG operation. This gives a shorter encoding for the second extend in the sext case, and allows us to completely remove the second extend in the zext case. This also adds known bit and num sign bits support for UDIVREM8_ZEXT_HREG/SDIVREM8_SEXT_HREG. Differential Revision: https://reviews.llvm.org/D38275 llvm-svn: 316702
-
Richard Smith authored
llvm-svn: 316701
-
Craig Topper authored
Fixes PR32238. Differential Revision: https://reviews.llvm.org/D39077 llvm-svn: 316700
-
Philip Reames authored
When going to explain this to someone else, I got tripped up by the complicated meaning of IsKnownNonEscapingObject in load-store promotion. Extract a helper routine and clarify naming/scopes to make this a bit more obvious. llvm-svn: 316699
-
Alex Shlyapnikov authored
Summary: LSan is functional on PPC64 Linux now, let's enable all tests. One test required ppc specific changes: use_registers.cc. Reviewers: eugenis Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D39316 llvm-svn: 316698
-
Craig Topper authored
llvm-svn: 316697
-
David Blaikie authored
llvm-svn: 316696
-
Adrian Prantl authored
llvm-svn: 316695
-