- Sep 22, 2008
-
-
Oscar Fuentes authored
llvm-svn: 56419
-
- Sep 21, 2008
-
-
Chris Lattner authored
sarl $3, %ecx instead of: movl $3, %ecx sarl %cl, %edx This shrinks fast isel 176.gcc by about 2000 instructions (.3%) llvm-svn: 56413
-
Dan Gohman authored
compute the maximum element directly. llvm-svn: 56411
-
- Sep 20, 2008
-
-
Chris Lattner authored
llvm-svn: 56391
-
Evan Cheng authored
llvm-svn: 56378
-
Evan Cheng authored
llvm-svn: 56377
-
Dan Gohman authored
llvm-svn: 56376
-
Dan Gohman authored
results in better code for globals. Also, unbreak the local CSE for GlobalValue stub loads. llvm-svn: 56371
-
- Sep 19, 2008
-
-
Dan Gohman authored
catches a fair number of common cases. Note that this currently causes Fast-ISel to leave behind lots of dead instructions. Those will be dealt with in subsequent commits. llvm-svn: 56320
-
- Sep 18, 2008
-
-
Dan Gohman authored
llvm-svn: 56311
-
Evan Cheng authored
llvm-svn: 56301
-
Evan Cheng authored
llvm-svn: 56300
-
Evan Cheng authored
llvm-svn: 56299
-
- Sep 17, 2008
-
-
Dan Gohman authored
over having it in a register. And wait until after checking type legality before requesting that the callee address be placed in a register. Also, fix support for calls with void return type. This speeds up fast-isel isel time by about 15% and reduces instruction counts by about 3% overall on certain testcases. It also changes many indirect calls to direct calls. llvm-svn: 56292
-
Evan Cheng authored
llvm-svn: 56277
-
Evan Cheng authored
llvm-svn: 56276
-
Dan Gohman authored
up some new ascii art to illustrate what it does. This change currently has no effect on generated code. llvm-svn: 56270
-
Bill Wendling authored
function with appropriate parameters. This allows us to support blocks on PPC. llvm-svn: 56267
-
- Sep 16, 2008
-
-
Bill Wendling authored
Apologies for the thrashing. llvm-svn: 56251
-
Bill Wendling authored
- Add linkage to SymbolSDNode (default to external). - Change ISD::ExternalSymbol to ISD::Symbol. - Change ISD::TargetExternalSymbol to ISD::TargetSymbol These changes pave the way to allowing SymbolSDNodes with non-external linkage. llvm-svn: 56249
-
- Sep 15, 2008
-
-
Bruno Cardoso Lopes authored
http://llvm.org/bugs/show_bug.cgi?id=2751 Abicall was enabled even when static code model was provided in the command line. The correct behavior is to disable abicall when static is specified. llvm-svn: 56228
-
- Sep 13, 2008
-
-
Dan Gohman authored
isImmediate(), isRegister(), and friends, to avoid confusion about having two different names with the same meaning. I'm not attached to the longer names, and would be ok with changing to the shorter names if others prefer it. llvm-svn: 56189
-
Evan Cheng authored
llvm-svn: 56184
-
Dan Gohman authored
Currently it just holds the calling convention and flags for isVarArgs and isTailCall. And it has several utility methods, which eliminate magic 5+2*i and similar index computations in several places. CallSDNodes are not CSE'd. Teach UpdateNodeOperands to handle nodes that are not CSE'd gracefully. llvm-svn: 56183
-
Evan Cheng authored
llvm-svn: 56182
-
Evan Cheng authored
llvm-svn: 56181
-
Evan Cheng authored
llvm-svn: 56180
-
Evan Cheng authored
llvm-svn: 56179
-
Evan Cheng authored
llvm-svn: 56178
-
Evan Cheng authored
llvm-svn: 56176
-
Evan Cheng authored
llvm-svn: 56172
-
Evan Cheng authored
llvm-svn: 56171
-
- Sep 12, 2008
-
-
Dan Gohman authored
with ConstantInt. This led to fixing a bug in TargetLowering.cpp using getValue instead of getAPIntValue. llvm-svn: 56159
-
- Sep 11, 2008
-
-
Jim Grosbach authored
llvm-svn: 56126
-
Arnold Schwaighofer authored
When tailcallopt is enabled all fastcc calls must have an aligned argument stack size. Add a test case. llvm-svn: 56119
-
Owen Anderson authored
llvm-svn: 56117
-
Dale Johannesen authored
cmp-and-swap reversed the Cmp and Swap arguments; comments make it clear this is unintentional. Unfortunately, the x86 BE had a compensating reversal, which is removed here. PPC is OK. From inspection of the Alpha code I think it is OK, but if somebody has that platform please check it out. I cannot test on that platform. llvm-svn: 56091
-
Owen Anderson authored
If ISD::ANY_EXTEND fails, try ISD::ZERO_EXTEND and ISD::SIGN_EXTEND before giving up. This fixes 445.gobmk on X86-64 in fast isel. llvm-svn: 56088
-
Dale Johannesen authored
__sync_fetch_and_nand as ANDC, even though that's not what nand means. llvm-svn: 56087
-
- Sep 10, 2008
-
-
Dan Gohman authored
llvm-svn: 56070
-