mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-22 11:39:35 +00:00
Use the common `NoFPElim' setting instead of our own.
llvm-svn: 14298
This commit is contained in:
parent
2f580c043c
commit
a2ac4e4345
@ -20,17 +20,13 @@
|
||||
#include "llvm/CodeGen/MachineInstrBuilder.h"
|
||||
#include "llvm/CodeGen/MachineFunction.h"
|
||||
#include "llvm/CodeGen/MachineFrameInfo.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Target/TargetFrameInfo.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Target/TargetMachineImpls.h"
|
||||
#include "Support/CommandLine.h"
|
||||
#include "Support/STLExtras.h"
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
cl::opt<bool>
|
||||
NoFPElim("disable-fp-elim",cl::desc("Disable frame pointer elimination optimization"));
|
||||
}
|
||||
|
||||
PowerPCRegisterInfo::PowerPCRegisterInfo()
|
||||
: PowerPCGenRegisterInfo(PPC32::ADJCALLSTACKDOWN,
|
||||
PPC32::ADJCALLSTACKUP) {}
|
||||
|
@ -21,17 +21,15 @@
|
||||
#include "llvm/CodeGen/MachineInstrBuilder.h"
|
||||
#include "llvm/CodeGen/MachineFunction.h"
|
||||
#include "llvm/CodeGen/MachineFrameInfo.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Target/TargetFrameInfo.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Target/TargetMachineImpls.h"
|
||||
#include "Support/CommandLine.h"
|
||||
#include "Support/STLExtras.h"
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
cl::opt<bool>
|
||||
NoFPElim("disable-fp-elim",
|
||||
cl::desc("Disable frame pointer elimination optimization"));
|
||||
cl::opt<bool>
|
||||
NoFusing("disable-spill-fusing",
|
||||
cl::desc("Disable fusing of spill code into instructions"));
|
||||
cl::opt<bool>
|
||||
|
Loading…
Reference in New Issue
Block a user