* Store all non-volatile int registers R13-31 on the stack, restore on exit
[oota-llvm.git] / lib / Target / TargetMachine.cpp
index 051ebf07b4b326b34c27051f441455b69260b144..d71bd3f9542f0bdbf0f710297c0d7720ff37eb49 100644 (file)
@@ -21,13 +21,20 @@ using namespace llvm;
 // Command-line options that tend to be useful on more than one back-end.
 //
 
-namespace llvm { 
+namespace llvm {
   bool PrintMachineCode;
+  bool NoFramePointerElim;
 };
 namespace {
   cl::opt<bool, true> PrintCode("print-machineinstrs",
     cl::desc("Print generated machine code"),
     cl::location(PrintMachineCode), cl::init(false));
+
+  cl::opt<bool, true> 
+    DisableFPElim("disable-fp-elim",
+                  cl::desc("Disable frame pointer elimination optimization"),
+                  cl::location(NoFramePointerElim),
+                  cl::init(false));
 };
 
 //---------------------------------------------------------------------------