Revert r114340 (improvements in Darwin function prologue/epilogue), as it broke

assumptions about stack layout. Specifically, LR must be saved next to FP.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118026 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach committed 2010-11-02 17:35:25 +00:00
1 parent 3b5aec67ef
commit ab3d00e535
6 files changed
+183 -67

No files matched your search

+6
View File
@@ -17,9 +17,15 @@
#include "CodeGenTarget.h"
#include "Record.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
using namespace llvm;
static cl::opt<bool>
MCEmitter("mc-code-emitter",
cl::desc("Generate CodeEmitter for use with the MC library."),
cl::init(false));
void CodeEmitterGen::reverseBits(std::vector<Record*> &Insts) {
for (std::vector<Record*>::iterator I = Insts.begin(), E = Insts.end();
I != E; ++I) {