- Jun 13, 2012
-
-
Nick Kledzik authored
llvm-svn: 158374
-
Hal Finkel authored
llvm-svn: 158373
-
Chad Rosier authored
statements are allowed on the same line. llvm-svn: 158372
-
Duncan Sands authored
llvm-svn: 158371
-
Bob Wilson authored
llvm-svn: 158370
-
Duncan Sands authored
POD type, causing memory corruption when mapping to APInts with bitwidth > 64. Merge another crash testcase into crash.ll while there. llvm-svn: 158369
-
Chad Rosier authored
Patch by Jush Lu <jush.msn@gmail.com>. llvm-svn: 158368
-
Chad Rosier authored
Specifically, improve the handling of whitespace, stop saving tokens that are in comments and fix the case where we have a comment followed by a closing brace on the next line. Unfortunately, there's no easy way of testing this code. llvm-svn: 158367
-
Hal Finkel authored
On the POWER7, adds and logical operations can also be handled in the load/store pipelines. We'll call these IntSimple. llvm-svn: 158366
-
Manuel Klimek authored
llvm-svn: 158365
-
David Blaikie authored
llvm-svn: 158364
-
Hal Finkel authored
POWER4 is a 64-bit CPU (better matched to the 970). The g3 is really the 750 (no altivec), the g4+ is the 74xx (not the 750). Patch by Andreas Tobler. llvm-svn: 158363
-
- Jun 12, 2012
-
-
Dmitri Gribenko authored
llvm-svn: 158359
-
Duncan Sands authored
topologies, it is quite possible for a leaf node to have huge multiplicity, for example: x0 = x*x, x1 = x0*x0, x2 = x1*x1, ... rapidly gives a value which is x raised to a vast power (the multiplicity, or weight, of x). This patch fixes the computation of weights by correctly computing them no matter how big they are, rather than just overflowing and getting a wrong value. It turns out that the weight for a value never needs more bits to represent than the value itself, so it is enough to represent weights as APInts of the same bitwidth and do the right overflow-avoiding dance steps when computing weights. As a side-effect it reduces the number of multiplies needed in some cases of large powers. While there, in view of external uses (eg by the vectorizer) I made LinearizeExprTree static, pushing the rank computation out into users. This is progress towards fixing PR13021. llvm-svn: 158358
-
Douglas Gregor authored
make sure that we walk the definition. Fixes <rdar://problem/11427742>. llvm-svn: 158357
-
Anna Zaks authored
llvm-svn: 158356
-
Bill Wendling authored
llvm-svn: 158353
-
Craig Topper authored
llvm-svn: 158351
-
Hal Finkel authored
There is otherwise not a newline between the CPU name and the start of the next pass's output which makes both difficult to read. llvm-svn: 158350
-
Hal Finkel authored
Original commit message: Move PPC host-CPU detection logic from PPCSubtarget into sys::getHostCPUName(). Both the new Linux functionality and the old Darwin functions have been moved. This change also allows this information to be queried directly by clang and other frontends (clang, for example, will now have real -mcpu=native support). llvm-svn: 158349
-
Richard Smith authored
all. Suppresses follow-on errors mentioned in PR13074. llvm-svn: 158348
-
Dmitri Gribenko authored
Correct comment. The return type was changed to const Type* in r123814. Patch by David Röthlisberger. llvm-svn: 158347
-
Argyrios Kyrtzidis authored
llvm-svn: 158346
-
Jakob Stoklund Olesen authored
This commit broke most of the PowerPC unit tests when running on Intel/Apple. llvm-svn: 158345
-
Dmitri Gribenko authored
llvm-svn: 158344
-
Dmitri Gribenko authored
llvm-svn: 158343
-
Argyrios Kyrtzidis authored
thread local data, embed them in the class using a uint64_t and make sure we get compiler errors if there's a platform where this is not big enough. This makes ThreadLocal more safe for using it in conjunction with CrashRecoveryContext. Related to crash in rdar://11434201. llvm-svn: 158342
-
Jordan Rose authored
This does not actually give us the right behavior for reinterpret_cast of references. Reverting so I can think about it some more. This reverts commit 50a75a6e26a49011150067adac556ef978639fe6. llvm-svn: 158341
-
Andrew Trick authored
llvm-svn: 158340
-
Andrew Trick authored
llvm-svn: 158339
-
Jordan Rose authored
These casts only appear in very well-defined circumstances, in which the target of a reinterpret_cast or a function formal parameter is an lvalue reference. According to the C++ standard, the following are equivalent: reinterpret_cast<T&>( x) *reinterpret_cast<T*>(&x) [expr.reinterpret.cast]p11 llvm-svn: 158338
-
Hal Finkel authored
Both the new Linux functionality and the old Darwin functions have been moved. This change also allows this information to be queried directly by clang and other frontends (clang, for example, will now have real -mcpu=native support). llvm-svn: 158337
-
Nick Kledzik authored
ivars in WriterOptionsMachO instead have its methods compute ivar interactions. Refactor mach-o Reference Kinds and introduce abstract class KindHandler. Split up StubAtoms.hpp by architecture. Add support for 32-bit x86 stubs. llvm-svn: 158336
-
Anna Zaks authored
llvm-svn: 158335
-
Hal Finkel authored
This functionality is based on what is done on ARM, and enables selecting PPC CPUs in a way compatible with gcc's driver. Also, mirroring gcc (and what is done on x86), -mcpu=native support was added. This uses the host cpu detection from LLVM (which will also soon be updated by refactoring code currently in backend). In order for this to work, the target needs a list of valid CPUs -- we now accept all CPUs accepted by LLVM. A few preprocessor defines for common CPU types have been added. llvm-svn: 158334
-
Anna Zaks authored
llvm-svn: 158333
-
Anna Zaks authored
llvm-svn: 158332
-
Anna Zaks authored
llvm-svn: 158331
-
Anna Zaks authored
llvm-svn: 158330
-
Chad Rosier authored
assembly is completely untested and unsupported. llvm-svn: 158329
-