llvm-6502/lib
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
..
Analysis Process InlinedAt location info. 2009-11-10 22:05:35 +00:00
Archive Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
AsmParser Fix MSVC warning ( | with bool and unsigned int). 2009-11-07 23:51:55 +00:00
Bitcode Re-commit r86077 now that r86290 fixes the 179.art and 175.vpr ARM regressions. 2009-11-07 00:16:28 +00:00
CodeGen Teach PHIElimination to split critical edges when -split-phi-edges is enabled. 2009-11-10 22:01:05 +00:00
CompilerDriver llvmc: Add a '-time' option. 2009-11-07 06:33:58 +00:00
ExecutionEngine Remove dlsym stubs, with Nate Begeman's permission. 2009-11-09 22:34:19 +00:00
Linker Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a lame API. 2009-11-10 00:43:58 +00:00
MC Pass StringRef by value. 2009-11-06 10:58:06 +00:00
Support Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a lame API. 2009-11-10 00:43:58 +00:00
System Revert commit 81144, and add a comment. It caused bugpoint timeouts 2009-11-08 20:55:48 +00:00
Target Modify how the prologue encoded the "move" information for the FDE. GCC 2009-11-10 22:14:04 +00:00
Transforms fix a crash in SCCP handling extractvalue of an array, pointed out and 2009-11-10 22:02:09 +00:00
VMCore make this handle redefinition of malloc function with different prototype correctly 2009-11-10 19:53:28 +00:00
Makefile remove llvm-db: it is completely broken and if anyone wants to do a debugger, 2009-10-05 02:29:51 +00:00