Use the common `NoFPElim' setting instead of our own.
authorMisha Brukman <brukman+llvm@gmail.com>
Mon, 21 Jun 2004 21:10:24 +0000 (21:10 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Mon, 21 Jun 2004 21:10:24 +0000 (21:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14298 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PowerPCRegisterInfo.cpp
lib/Target/X86/X86RegisterInfo.cpp

index ea35cc8ac4485960b030dd713c4720a265aa5b9c..9b6d95c859b876bae4037405f5f057b93a0f4a7a 100644 (file)
 #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) {}
index 03fe5505aed8fa6c1b5c396ad91517ea9c6fd07a..150ed749a1bba95f206caa0e7f6ee63ac9082cba 100644 (file)
 #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>