- Feb 19, 2013
-
-
Douglas Gregor authored
llvm-svn: 175538
-
- Feb 07, 2013
-
-
Meador Inge authored
PR15138 was opened because of a segfault in the Bitcode writer. The actual issue ended up being a bug in APInt where calls to APInt::getActiveWords returns a bogus value when the APInt value is 0. This patch fixes the problem by ensuring that getActiveWords returns 1 for 0 valued APInts. llvm-svn: 174641
-
- Feb 06, 2013
-
-
Michael J. Spencer authored
Thanks to Andrew, David, and Aaron for helping fix this. llvm-svn: 174552
-
- Feb 05, 2013
-
-
Andrew Trick authored
This reverts commit a33e1fafac7fedb1b080ef07ddf9ad6ddff3a830. This unit test crashes on Darwon. It needs to be temporarily reverted to unblock the test infrastructure. llvm-svn: 174458
-
Michael J. Spencer authored
llvm-svn: 174357
-
- Jan 31, 2013
-
-
Dan Gohman authored
reference to a pointer, so that it can handle the case where DataLayout is not available and behave conservatively. llvm-svn: 174024
-
Michael Gottesman authored
As a bonus I put in some extra checks to make sure that we are identifying the machine word of various Mac OS X/iOS targets appropriately. llvm-svn: 173994
-
- Jan 28, 2013
-
-
Andrew Kaylor authored
llvm-svn: 173712
-
- Jan 27, 2013
-
-
Bill Wendling authored
llvm-svn: 173608
-
- Jan 25, 2013
-
-
Dmitri Gribenko authored
llvm-svn: 173513
-
Nick Lewycky authored
llvm-svn: 173505
-
Benjamin Kramer authored
Fixes PR15054. llvm-svn: 173459
-
- Jan 24, 2013
-
-
NAKAMURA Takumi authored
I got blamed on darwin11; unittests/Support/ManagedStatic.cpp:35: error: 'pthread_attr_setstack' was not declared in this scope llvm-svn: 173355
-
NAKAMURA Takumi authored
unittests/SupportTests/Initialize.MultipleThreads: Appease --vg-leak to allocate stack explicitly for glibc. llvm-svn: 173350
-
- Jan 23, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 173240
-
NAKAMURA Takumi authored
llvm-svn: 173239
-
NAKAMURA Takumi authored
llvm-svn: 173238
-
NAKAMURA Takumi authored
It fixes --vg-leak. llvm-svn: 173237
-
NAKAMURA Takumi authored
IRTests/ConstantsTest.cpp: AsInstructionsTest: Delete each instruction immediately if it is not linked. llvm-svn: 173236
-
NAKAMURA Takumi authored
llvm-svn: 173235
-
NAKAMURA Takumi authored
llvm-svn: 173234
-
NAKAMURA Takumi authored
llvm-svn: 173233
-
Michael J. Spencer authored
ErrorOr<void> represents an operation that returns nothing, but can still fail. It should be used in cases where you need the aditional user data that ErrorOr provides over error_code. llvm-svn: 173209
-
- Jan 22, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 173144
-
NAKAMURA Takumi authored
llvm-svn: 173127
-
NAKAMURA Takumi authored
llvm-svn: 173123
-
- Jan 21, 2013
-
-
Michael Ilseman authored
A SparseMultiSet adds multiset behavior to SparseSet, while retaining SparseSet's desirable properties. Essentially, SparseMultiSet provides multiset behavior by storing its dense data in doubly linked lists that are inlined into the dense vector. This allows it to provide good data locality as well as vector-like constant-time clear() and fast constant time find(), insert(), and erase(). It also allows SparseMultiSet to have a builtin recycler rather than keeping SparseSet's behavior of always swapping upon removal, which allows it to preserve more iterators. It's often a better alternative to a SparseSet of a growable container or vector-of-vector. llvm-svn: 173064
-
Michael J. Spencer authored
llvm-svn: 173004
-
- Jan 20, 2013
-
-
Benjamin Kramer authored
Michael, can this test be ported to C++03? llvm-svn: 172996
-
Michael J. Spencer authored
llvm-svn: 172991
-
- Jan 16, 2013
-
-
Peter Collingbourne authored
In r143502, we renamed getHostTriple() to getDefaultTargetTriple() as part of work to allow the user to supply a different default target triple at configure time. This change also affected the JIT. However, it is inappropriate to use the default target triple in the JIT in most circumstances because this will not necessarily match the current architecture used by the process, leading to illegal instruction and other such errors at run time. Introduce the getProcessTriple() function for use in the JIT and its clients, and cause the JIT to use it. On architectures with a single bitness, the host and process triples are identical. On other architectures, the host triple represents the architecture of the host CPU, while the process triple represents the architecture used by the host CPU to interpret machine code within the current process. For example, when executing 32-bit code on a 64-bit Linux machine, the host triple may be 'x86_64-unknown-linux-gnu', while the process triple may be 'i386-unknown-linux-gnu'. This fixes JIT for the 32-on-64-bit (and vice versa) build on non-Apple platforms. Differential Revision: http://llvm-reviews.chandlerc.com/D254 llvm-svn: 172627
-
Evgeniy Stepanov authored
llvm-svn: 172615
-
Evgeniy Stepanov authored
llvm-svn: 172614
-
- Jan 14, 2013
-
-
Dmitri Gribenko authored
llvm-svn: 172474
-
David Greene authored
Use const_cast<> to avoid cast-away-const errors. llvm-svn: 172464
-
- Jan 12, 2013
-
-
Benjamin Kramer authored
The folding set details can be subtle and broke twice in the last couple of weeks. llvm-svn: 172313
-
- Jan 11, 2013
-
-
Eli Bendersky authored
Patch by Michael Muller. llvm-svn: 172214
-
- Jan 10, 2013
-
-
Dmitri Gribenko authored
llvm-svn: 172108
-
Dmitri Gribenko authored
llvm-svn: 172107
-
Jakub Staszak authored
llvm-svn: 172105
-