llvm-6502/lib/Target
Chris Lattner 6972177bd4 When emitting the function epilog, check to see if there already a stack
adjustment.  If so, we merge the adjustment into the existing one.  This
allows us to generate:

caller2:
        sub %ESP, 12
        mov DWORD PTR [%ESP], 0
        mov %EAX, 1234567890
        mov %EDX, 0
        call func2
        add %ESP, 8
        ret 4

intead of:

caller2:
        sub %ESP, 12
        mov DWORD PTR [%ESP], 0
        mov %EAX, 1234567890
        mov %EDX, 0
        call func2
        sub %ESP, 4
        add %ESP, 12
        ret 4

for X86/fast-cc-merge-stack-adj.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22038 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 23:53:43 +00:00
..
Alpha treat TAILCALL nodes identically to CALL nodes 2005-05-13 20:29:26 +00:00
CBackend clean up the CBE output a bit 2005-05-06 06:58:42 +00:00
IA64 treat TAILCALL nodes identically to CALL nodes 2005-05-13 20:29:26 +00:00
PowerPC treat TAILCALL nodes identically to CALL nodes 2005-05-13 20:29:26 +00:00
Skeleton
Sparc
SparcV8
SparcV9 clarify that these are v9 options 2005-05-13 19:45:45 +00:00
X86 When emitting the function epilog, check to see if there already a stack 2005-05-14 23:53:43 +00:00
Makefile
MRegisterInfo.cpp
Target.td
TargetData.cpp
TargetFrameInfo.cpp
TargetInstrInfo.cpp
TargetMachine.cpp capitalize 2005-05-13 19:48:34 +00:00
TargetMachineRegistry.cpp
TargetSchedInfo.cpp