- Sep 22, 2008
-
-
Dale Johannesen authored
default. llvm-svn: 56471
-
Evan Cheng authored
llvm-svn: 56469
-
Oscar Fuentes authored
llvm-svn: 56453
-
Arnold Schwaighofer authored
Change the calling convention used when tail call optimization is enabled from CC_X86_32_TailCall to CC_X86_32_FastCC. llvm-svn: 56436
-
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
-
- 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
-
- 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
-
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
-
- 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 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
-
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
-
- 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
-
-
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
-
- Sep 10, 2008
-
-
Dan Gohman authored
llvm-svn: 56070
-
Dan Gohman authored
to static allocas. As part of this change, refactor the address mode code for laods and stores. llvm-svn: 56066
-
Evan Cheng authored
Fix a fastcc + sret bug. If fastcc and sret, callee doesn't need to pop the hidden struct ptr; Re-enable fastcc. llvm-svn: 56061
-
Dale Johannesen authored
Patch by Paul Redmond. llvm-svn: 56059
-
Duncan Sands authored
llvm-svn: 56055
-
Duncan Sands authored
convention (not related to recent Ada testsuite failures). llvm-svn: 56054
-
Duncan Sands authored
a slew of Ada testsuite failures on x86-32 linux. Seems to be related to the use of float. llvm-svn: 56053
-
- Sep 09, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 56005
-
Anton Korobeynikov authored
No functionality change. llvm-svn: 55996
-
Evan Cheng authored
Fix a constant lowering bug. Now we can do load and store instructions with funky getelementptr embedded in the address operand. llvm-svn: 55975
-
Dale Johannesen authored
objects in llvm.used (thanks Anton). Makes visible the magic 'l' prefix for symbols on Darwin which are to be passed through the assembler, then removed at linktime (previously all references to this had been hidden in the ObjC FE code, oh well). llvm-svn: 55973
-
- Sep 08, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 55957
-
Anton Korobeynikov authored
llvm-svn: 55956
-
Anton Korobeynikov authored
Now with fix, which prevents subtle codegen bug to trigger on darwin. No fix for bug though, it's still there. llvm-svn: 55955
-
Anton Korobeynikov authored
llvm-svn: 55954
-
Bill Wendling authored
llvm-svn: 55938
-