- Jul 14, 2015
-
-
Reid Kleckner authored
Add another C++ 32-bit EH table test. llvm-svn: 242044
-
Andrey Churbanov authored
llvm-svn: 242043
-
Benjamin Kramer authored
This is a C++11 feature that both GCC and MSVC have supported as ane extension long before C++11 was approved. llvm-svn: 242042
-
Benjamin Kramer authored
Passes should never modify it, just use the const version. While there reduce copying in LoopInterchange. No functional change intended. llvm-svn: 242041
-
James Y Knight authored
It had accidently accepted a symbol+offset value (and emitted incorrect code for it, keeping only the offset part) instead of properly reporting the constraint as invalid. Differential Revision: http://reviews.llvm.org/D11039 llvm-svn: 242040
-
Birunthan Mohanathas authored
Differential Revision: http://reviews.llvm.org/D11125 llvm-svn: 242039
-
- Jul 13, 2015
-
-
Tom Stellard authored
The two-address instruction pass will convert these back to v_mad_f32 if necessary. Differential Revision: http://reviews.llvm.org/D11060 llvm-svn: 242038
-
Logan Chien authored
The 64/128-bit vector types are legal if NEON instructions are available. However, there was no matching patterns for @llvm.cttz.*() intrinsics and result in fatal error. This commit fixes the problem by lowering cttz to: a. ctpop((x & -x) - 1) b. width - ctlz(x & -x) - 1 llvm-svn: 242037
-
Scott Douglass authored
Also, run thumb_rewrite.s tests in Thumb2 now that they pass. Differential Revision: http://reviews.llvm.org/D11132 llvm-svn: 242036
-
Scott Douglass authored
Differential Revision: http://reviews.llvm.org/D11131 llvm-svn: 242035
-
Scott Douglass authored
Also, add more Thumb2 ADD tests requested during review of http://reviews.llvm.org/D11053. Differential Revision: http://reviews.llvm.org/D11130 llvm-svn: 242034
-
Silviu Baranga authored
Summary: The iteration order within a member of DepCands is deterministic and therefore we don't have to sort the accesses within a member. We also don't have to copy the indices of the pointers into a vector, since we can iterate over the members of the class. Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11145 llvm-svn: 242033
-
Rafael Espindola authored
Sorry I missed it in the previous commit. llvm-svn: 242032
-
Rafael Espindola authored
Allowing that is probably a good idea, but currently we don't, so this is dead code. llvm-svn: 242031
-
Rafael Espindola authored
llvm-svn: 242030
-
Ulrich Weigand authored
Attribute names usually support an alternate spelling that uses double underscores before and after the attribute name, like e.g. attribute ((__aligned__)) for attribute ((aligned)). This is necessary to allow use of attributes in system headers without polluting the name space. However, for attribute ((enable_if)) that alternate spelling does not work correctly. This is because of code in Parser::ParseGNUAttributeArgs (ParseDecl.cpp) that specifically checks for the "enable_if" spelling without allowing the alternate spelling. Similar code in ParseDecl.cpp uses the normalizeAttrName helper to allow both spellings. This patch adds use of that helper for the "enable_if" check as well, which fixes attribute ((__enable_if__)). Differential Revision: http://reviews.llvm.org/D11142 llvm-svn: 242029
-
Aaron Ballman authored
llvm-svn: 242028
-
Rafael Espindola authored
We were already printing it for declarations, but not available_externally. llvm-svn: 242027
-
Manuel Klimek authored
The repros from PR23626 still fail. llvm-svn: 242025
-
Elena Demikhovsky authored
In this patch I have only encoding. Intrinsics and DAG lowering will be in the next patch. I temporary removed the old intrinsics test (just to split this patch). Half types are not covered here. Differential Revision: http://reviews.llvm.org/D11134 llvm-svn: 242023
-
Pavel Labath authored
Summary: r241964 has added a dependency on uuid.h, which (on linux at least) necessitates instalation of a new package. Since the only thing we need from that file is uuid_t (and this is already defined in UuidCompatibility.h), we can avoid this dependency by making this include __APPLE__ specific. If in future, we need more from this library, we can revisit this decision. Reviewers: jasonmolenda Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11135 llvm-svn: 242022
-
Ulrich Weigand authored
As noticed by David Majnemer, update an out-of-date comment in CGClass.cpp after the r241916 commit. llvm-svn: 242021
-
Pawel Bylica authored
llvm-svn: 242020
-
Tamas Berghammer authored
The size of a long double was hardcoded in DataExtractor for x86 and x86_64 architectures. This CL removes the hard coded values and use the actual size based on the floating point semantics specified. Differential revision: http://reviews.llvm.org/D8417 llvm-svn: 242019
-
Pavel Labath authored
Summary: This is the first part of our effort to make llgs single threaded. Currently, llgs consists of about three threads and the synchronisation between them is a major source of latency when debugging linux and android applications. In order to be able to go single threaded, we must have the ability to listen for events from multiple sources (primarily, client commands coming over the network and debug events from the inferior) and perform necessary actions. For this reason I introduce the concept of a MainLoop. A main loop has the ability to register callback's which will be invoked upon receipt of certain events. MainLoopPosix has the ability to listen for file descriptors and signals. For the moment, I have merely made the GDBRemoteCommunicationServerLLGS class use MainLoop instead of waiting on the network socket directly, but the other threads still remain. In the followup patches I indend to migrate NativeProcessLinux to this class and remove the remaining threads. Reviewers: ovyalov, clayborg, amccarth, zturner, emaste Subscribers: tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D11066 llvm-svn: 242018
-
Tamas Berghammer authored
On Android the oatdata and the oatexec symbols in system@framework@boot.oat covers the full .text section what causes issues with displaying unusable symbol name to the user and very slow unwinding speed because the instruction emulation based unwind plans try to emulate all instructions in these symbols. Don't add these symbols to the symbol list as they have no use for the debugger and they are causing a lot of trouble. Differential revision: http://reviews.llvm.org/D11065 llvm-svn: 242017
-
Sagar Thakur authored
This patch: - Allows mips32 cores to match with any mips32/mips64 cores. - Allows mips32r2 cores to match with core only up-to mips32r2/mips64r2. - Allows mips32r3 cores to match with core only up-to mips32r3/mips64r3. - Allows mips32r5 cores to match with core only up-to mips32r3/mips64r5. - Allows mips32r6 core to match with only mips32r6/mips64r6 or mips32/mips64. Reviewers: emaste, jaydeep, clayborg Subscribers: mohit.bhakkad, nitesh.jain, bhushan, lldb-commits Differential Revision: http://reviews.llvm.org/D10921 llvm-svn: 242016 -
Daniel Sanders authored
It exists for compatibility with GCC which requires it to print MSA registers for the 'f' constraint. Although LLVM doesn't need it, the 'w' modifier should still be used for portability between the two compilers. llvm-svn: 242015
-
Simon Atanasyan authored
llvm-svn: 242014
-
Justin Bogner authored
r241824 didn't update the autoconf build system to handle the new file in the profile library. llvm-svn: 242013
-
Rafael Espindola authored
Otherwise the visibility setting code would not know that a given function was available_externally. Fixes PR24097. llvm-svn: 242012
-
Jingyue Wu authored
Summary: This at least saves compile time. I also encountered a case where ephemeral values affect whether other variables are promoted, causing performance issues. It may be a bug in LSR, but I didn't manage to reduce it yet. Anyhow, I believe it's in general not worth considering ephemeral values in LSR. Reviewers: atrick, hfinkel Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11115 llvm-svn: 242011
-
David Majnemer authored
The program is permitted to have stuff like '#define x' in it so avoid using identifiers not reserved for the implementation. llvm-svn: 242010
-
David Majnemer authored
Three things: - The atomic intrinsics mandate memory barriers, let's start emitting some. - We don't need to manually create RMW operations, we can just do __atomic_fetch_foo instead of performing __atomic_foo_fetch and undoing foo. - Don't use inline assembly, we don't need it for these intrinsics. This fixes PR24101. llvm-svn: 242009
-
David Majnemer authored
llvm-svn: 242008
-
David Majnemer authored
llvm-svn: 242007
-
Nico Weber authored
clang-cl doesn't compile std::atomic_flag correctly (PR24101). Since the COFF linker doesn't use threads yet, just revert r241420 and r241481 for now to work around this clang-cl bug. llvm-svn: 242006
-
NAKAMURA Takumi authored
Fix clang/unittests/ASTMatchers/Dynamic/Makefile. clangDynamicASTMatchers should be linked in advance of clangAST and clangASTMatchers. llvm-svn: 242005
-
Nico Weber authored
With LLVM_ENABLE_THREADS disabled, all the llvm code assumes that it runs on a single thread and doesn't use any mutexes. lld still spawned lots of threads in that case and called into llvm, assuming that llvm is thread-safe. As fix, let lld use only a single thread if LLVM_ENABLE_THREADS is disabled. I left in all the mutexes in lld. That means lld is a bit slower than necessary in single-thread mode, but that's probably worth the simpler code. llvm-svn: 242004
-
Peter Collingbourne authored
Fixes check-ubsan when self hosting on Windows. llvm-svn: 242003
-