- Jul 10, 2011
-
-
Jakub Staszak authored
llvm-svn: 134858
-
- Jul 09, 2011
-
-
Chris Lattner authored
patch brings numerous advantages to LLVM. One way to look at it is through diffstat: 109 files changed, 3005 insertions(+), 5906 deletions(-) Removing almost 3K lines of code is a good thing. Other advantages include: 1. Value::getType() is a simple load that can be CSE'd, not a mutating union-find operation. 2. Types a uniqued and never move once created, defining away PATypeHolder. 3. Structs can be "named" now, and their name is part of the identity that uniques them. This means that the compiler doesn't merge them structurally which makes the IR much less confusing. 4. Now that there is no way to get a cycle in a type graph without a named struct type, "upreferences" go away. 5. Type refinement is completely gone, which should make LTO much MUCH faster in some common cases with C++ code. 6. Types are now generally immutable, so we can use "Type *" instead "const Type *" everywhere. Downsides of this patch are that it removes some functions from the C API, so people using those will have to upgrade to (not yet added) new API. "LLVM 3.0" is the right time to do this. There are still some cleanups pending after this, this patch is large enough as-is. llvm-svn: 134829
-
Evan Cheng authored
llvm-svn: 134800
-
Evan Cheng authored
CPU, and feature string. Parsing some asm directives can change subtarget state (e.g. .code 16) and it must be reflected in other modules (e.g. MCCodeEmitter). That is, the MCSubtargetInfo instance must be shared. llvm-svn: 134795
-
Eli Friedman authored
Really force on 64bit for 64-bit targets. Should fix remaining failures on unknown x86/non-x86 targets. llvm-svn: 134773
-
Eli Friedman authored
Revert earlier unnecessary hack. Make sure we correctly force on 64bit and cmov for 64-bit targets. llvm-svn: 134768
-
Evan Cheng authored
llvm-svn: 134764
-
Evan Cheng authored
llvm-svn: 134760
-
Jim Grosbach authored
llvm-svn: 134758
-
Evan Cheng authored
llvm-svn: 134757
-
Jim Grosbach authored
llvm-svn: 134755
-
Eli Friedman authored
Default 64-bit target features and SSE2 on when a triple specifies x86-64. Clean up all the other hacks which are now unnecessary. llvm-svn: 134753
-
- Jul 08, 2011
-
-
Jim Grosbach authored
The normal tBX instruction is predicable, so there's no reason the pseudos for using it as a return shouldn't be. Gives us some nice code-gen improvements as can be seen by the test changes. In particular, several tests now have to disable if-conversion because it works too well and defeats the test. llvm-svn: 134746
-
Julien Lerouge authored
http://llvm.org/bugs/show_bug.cgi?id=10305 llvm-svn: 134744
-
Cameron Zwarich authored
is to use this for architectures that have a native FMA instruction. llvm-svn: 134742
-
Evan Cheng authored
llvm-svn: 134741
-
Jim Grosbach authored
llvm-svn: 134739
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 134738
-
Jim Grosbach authored
No functional change. llvm-svn: 134737
-
Jim Grosbach authored
llvm-svn: 134734
-
Jim Grosbach authored
llvm-svn: 134732
-
Benjamin Kramer authored
llvm-svn: 134730
-
Jim Grosbach authored
llvm-svn: 134729
-
Jim Grosbach authored
Fix a FIXME. llvm-svn: 134727
-
Evan Cheng authored
llvm-svn: 134721
-
Jim Grosbach authored
llvm-svn: 134719
-
Jim Grosbach authored
No functional change. llvm-svn: 134714
-
Jim Grosbach authored
TableGen'erated MC lowering pseudo-expansion. llvm-svn: 134712
-
Chandler Carruth authored
llvm-svn: 134707
-
Jim Grosbach authored
Hook up the TableGen lowering for simple pseudo instructions for ARM and use it for a subset of the many pseudos the backend has as proof of concept. More conversions to come. llvm-svn: 134705
-
Evan Cheng authored
- Each target asm parser now creates its own MCSubtatgetInfo (if needed). - Changed AssemblerPredicate to take subtarget features which tablegen uses to generate asm matcher subtarget feature queries. e.g. "ModeThumb,FeatureThumb2" is translated to "(Bits & ModeThumb) != 0 && (Bits & FeatureThumb2) != 0". llvm-svn: 134678
-
Akira Hatanaka authored
llvm-svn: 134671
-
Akira Hatanaka authored
llvm-svn: 134668
-
Nick Lewycky authored
Fixes PR9602! llvm-svn: 134665
-
Eric Christopher authored
processor supports it just fine. Fixes PR9675 and rdar://9740801 llvm-svn: 134664
-
Akira Hatanaka authored
llvm-svn: 134661
-
Eric Christopher authored
Part of PR10299 and rdar://9740322 llvm-svn: 134653
-
Eric Christopher authored
Fixes PR10149 and rdar://9738585 llvm-svn: 134648
-
Akira Hatanaka authored
llvm-svn: 134645
-
- Jul 07, 2011
-
-
Evan Cheng authored
llvm-svn: 134641
-