llvm-6502/test/CodeGen
Bill Wendling b19a5e9be6 Modify how the prologue encoded the "move" information for the FDE. GCC
generates a sequence similar to this:

__Z4funci:
LFB2:
        mflr r0
LCFI0:
        stmw r30,-8(r1)
LCFI1:
        stw r0,8(r1)
LCFI2:
        stwu r1,-80(r1)
LCFI3:
        mr r30,r1
LCFI4:

where LCFI3 and LCFI4 are used by the FDE to indicate what the FP, LR, and other
things are. We generated something more like this:

Leh_func_begin1:
        mflr r0
        stw r31, 20(r1)
        stw r0, 8(r1)
Llabel1:
        stwu r1, -80(r1)
Llabel2:
        mr r31, r1

Note that we are missing the "mr" instruction. This patch makes it more like the
GCC output.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86729 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-10 22:14:04 +00:00
..
Alpha Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
ARM Use Unified Assembly Syntax for the ARM backend. 2009-11-09 00:11:35 +00:00
Blackfin Move Blackfin intrinsics into the Target/Blackfin directory. 2009-10-15 18:50:52 +00:00
CBackend Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
CellSPU Revert the main portion of r31856. It was causing BranchFolding 2009-10-22 00:03:58 +00:00
CPP fix PR5295 where the .ll parser didn't reject a function after a global 2009-10-25 23:22:50 +00:00
Generic Fix PR5421 by APInt'izing switch lowering. 2009-11-07 07:50:34 +00:00
Mips Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
MSP430 Add and-not (bic) patterns. Based heavily on patch by Brian Lucas! 2009-11-08 15:33:12 +00:00
PIC16 Re-apply 84180 with the fixed test case. 2009-10-15 19:26:25 +00:00
PowerPC Modify how the prologue encoded the "move" information for the FDE. GCC 2009-11-10 22:14:04 +00:00
SPARC Eliminate some redundant llvm-as calls. 2009-10-12 09:31:55 +00:00
SystemZ Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
Thumb Refactor code. Fix a potential missing check. Teach isIdentical() about tLDRpci_pic. 2009-11-07 04:04:34 +00:00
Thumb2 Update test 2009-11-09 22:59:01 +00:00
X86 Add testcase for recent checkin. 2009-11-09 23:10:49 +00:00
XCore Add some peepholes for signed comparisons using ashr X, X, 32. 2009-10-08 15:38:17 +00:00