llvm-6502/test/CodeGen
Dale Johannesen c12da8d30a When save/restoring CR at prolog/epilog, in a large
stack frame, the prolog/epilog code was using the same
register for the copy of CR and the address of the save slot.  Oops.
This is fixed here for Darwin, sort of, by reserving R2 for this case.
A better way would be to do the store before the decrement of SP,
which is safe on Darwin due to the red zone.

SVR4 probably has the same problem, but I don't know how to fix it;
there is no red zone and R2 is already used for something else.
I'm going to leave it to someone interested in that target.

Better still would be to rewrite the CR-saving code completely;
spilling each CR subregister individually is horrible code.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96015 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-12 21:35:34 +00:00
..
Alpha
ARM Reapply the new LoopStrengthReduction code, with compile time and 2010-02-12 10:34:29 +00:00
Blackfin
CBackend
CellSPU
CPP
Generic move tests that depend on the x86 backend out of codegen/generic, 2010-02-09 06:41:03 +00:00
Mips
MSP430
PIC16
PowerPC When save/restoring CR at prolog/epilog, in a large 2010-02-12 21:35:34 +00:00
SPARC
SystemZ
Thumb
Thumb2 Reapply the new LoopStrengthReduction code, with compile time and 2010-02-12 10:34:29 +00:00
X86 Testcases for recent stdcall / fastcall mangling improvements 2010-02-12 15:29:13 +00:00
XCore