- Jul 11, 2011
-
-
Shantonu Sen authored
The enum names as well as order (i.e. value) had skewed, which means that consumers of the tablegen-ed table would see different values than intended. Make both files have a superset of enums, and add classification as needed for numMCOperands. Reviewed by Owen Anderson llvm-svn: 134905
-
Jim Grosbach authored
The 'CS' is not a predication suffix in this case. llvm-svn: 134903
-
Jim Grosbach authored
Print shifted immediate values directly rather than as a payload+shifter value pair. This makes for more readable output assembly code, simplifies the instruction printer, and is consistent with how Thumb immediates are displayed. llvm-svn: 134902
-
Garrison Venn authored
type system. However most of these modifications were due to IRBuilder (IRBuilderBase), not having been modified to NOT return such const qualified free types. If IRBuilder does not change, as can also be seen in its instruction creation methods, to use const free types, it may be useful to have ExceptionDemo drop IRBuilder usage. Modifying builder.getInt32Ty() to llvm::Type::getInt32Ty(builder.getContext()) is pretty ugly. llvm-svn: 134901
-
NAKAMURA Takumi authored
test/CodeGen/PowerPC/vector.ll: Tweak redirection >%t >%t to >%t >>%t. See also r134814 (test/CodeGen/X86/vector.ll). llvm-svn: 134900
-
Jay Foad authored
llvm-svn: 134893
-
Cameron Zwarich authored
llvm-svn: 134889
-
Jay Foad authored
llvm-svn: 134888
-
Jay Foad authored
llvm-svn: 134887
-
Evan Cheng authored
and MCSubtargetInfo. - Added methods to update subtarget features (used when targets automatically detect subtarget features or switch modes). - Teach X86Subtarget to update MCSubtargetInfo features bits since the MCSubtargetInfo layer can be shared with other modules. - These fixes .code 16 / .code 32 support since mode switch is updated in MCSubtargetInfo so MC code emitter can do the right thing. llvm-svn: 134884
-
Rafael Espindola authored
more than one use. Fixes PR10322. llvm-svn: 134883
-
-
- Jul 10, 2011
-
-
Chandler Carruth authored
llvm-svn: 134868
-
Chandler Carruth authored
know if there is some problem with this destructor being virtual... llvm-svn: 134867
-
Jakub Staszak authored
llvm-svn: 134858
-
Jakub Staszak authored
- Add getCompl() method. llvm-svn: 134857
-
Jakub Staszak authored
llvm-svn: 134856
-
Chris Lattner authored
llvm-svn: 134854
-
Rafael Espindola authored
PR10292 doesn't show that the loads don't alias the allocas. llvm-svn: 134852
-
Rafael Espindola authored
llvm-svn: 134850
-
- Jul 09, 2011
-
-
Nick Lewycky authored
llvm-svn: 134842
-
Nick Lewycky authored
module operations that operate on type names are gone. llvm-svn: 134839
-
Chris Lattner authored
type refinement. Zap them now that type refinement is toast. llvm-svn: 134837
-
Chris Lattner authored
llvm-svn: 134836
-
Chris Lattner authored
their names, we don't need a module around to print them. llvm-svn: 134835
-
Chris Lattner authored
llvm-svn: 134833
-
Chris Lattner authored
llvm-svn: 134832
-
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
-
Chris Lattner authored
llvm-svn: 134822
-
Chris Lattner authored
used by the new bitcode reader. llvm-svn: 134821
-
Chris Lattner authored
llvm-svn: 134820
-
Chris Lattner authored
llvm-svn: 134819
-
Chris Lattner authored
llvm-svn: 134818
-
NAKAMURA Takumi authored
With Lit (not bash) in a test, multiple redirects >%t might open(%t, "w") multiple. It can be avoided if latter redirect is >>%t. It might work even if ">/dev/null" were used. llvm-svn: 134814
-
NAKAMURA Takumi authored
llvm-svn: 134812
-
NAKAMURA Takumi authored
llvm-svn: 134809
-
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
-
Jakob Stoklund Olesen authored
Spills should be hoisted out of loops, but we don't want to hoist them to dominating blocks at the same loop depth. That could cause the spills to be executed more often. llvm-svn: 134782
-
Lang Hames authored
llvm-svn: 134778
-