Use the common `NoFPElim' setting instead of our own.

llvm-svn: 14298
This commit is contained in:
Misha Brukman 2004-06-21 21:10:24 +00:00
parent 2f580c043c
commit a2ac4e4345
2 changed files with 4 additions and 10 deletions

View File

@ -20,17 +20,13 @@
#include "llvm/CodeGen/MachineInstrBuilder.h" #include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFrameInfo.h" #include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetFrameInfo.h" #include "llvm/Target/TargetFrameInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetMachineImpls.h"
#include "Support/CommandLine.h" #include "Support/CommandLine.h"
#include "Support/STLExtras.h" #include "Support/STLExtras.h"
using namespace llvm; using namespace llvm;
namespace {
cl::opt<bool>
NoFPElim("disable-fp-elim",cl::desc("Disable frame pointer elimination optimization"));
}
PowerPCRegisterInfo::PowerPCRegisterInfo() PowerPCRegisterInfo::PowerPCRegisterInfo()
: PowerPCGenRegisterInfo(PPC32::ADJCALLSTACKDOWN, : PowerPCGenRegisterInfo(PPC32::ADJCALLSTACKDOWN,
PPC32::ADJCALLSTACKUP) {} PPC32::ADJCALLSTACKUP) {}

View File

@ -21,17 +21,15 @@
#include "llvm/CodeGen/MachineInstrBuilder.h" #include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFrameInfo.h" #include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetFrameInfo.h" #include "llvm/Target/TargetFrameInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetMachineImpls.h"
#include "Support/CommandLine.h" #include "Support/CommandLine.h"
#include "Support/STLExtras.h" #include "Support/STLExtras.h"
using namespace llvm; using namespace llvm;
namespace { namespace {
cl::opt<bool> cl::opt<bool>
NoFPElim("disable-fp-elim",
cl::desc("Disable frame pointer elimination optimization"));
cl::opt<bool>
NoFusing("disable-spill-fusing", NoFusing("disable-spill-fusing",
cl::desc("Disable fusing of spill code into instructions")); cl::desc("Disable fusing of spill code into instructions"));
cl::opt<bool> cl::opt<bool>