It is pointless to turn a UINT_TO_FP into an
[oota-llvm.git] / lib / Target / TargetMachine.cpp
index 6e8831bf1f90e85febdef50eee72effdae1753f5..0764968b23011f2d287c3cc17afd3d04d97ab409 100644 (file)
@@ -36,8 +36,9 @@ namespace llvm {
   CodeModel::Model CMModel;
   bool PerformTailCallOpt;
   bool OptimizeForSize;
-  bool RealignStack;
   unsigned StackAlignment;
+  bool RealignStack;
+  bool VerboseAsm;
 }
 
 static cl::opt<bool, true> PrintCode("print-machineinstrs",
@@ -45,10 +46,10 @@ static cl::opt<bool, true> PrintCode("print-machineinstrs",
   cl::location(PrintMachineCode), cl::init(false));
 
 static cl::opt<bool, true>
-  DisableFPElim("disable-fp-elim",
-                cl::desc("Disable frame pointer elimination optimization"),
-                cl::location(NoFramePointerElim),
-                cl::init(false));
+DisableFPElim("disable-fp-elim",
+              cl::desc("Disable frame pointer elimination optimization"),
+              cl::location(NoFramePointerElim),
+              cl::init(false));
 static cl::opt<bool, true>
 DisableExcessPrecision("disable-excess-fp-precision",
              cl::desc("Disable optimizations that may increase FP precision"),
@@ -135,8 +136,14 @@ EnablePerformTailCallOpt("tailcallopt",
 static cl::opt<bool, true>
 EnableOptimizeForSize("optimize-size",
                       cl::desc("Optimize for size."),
-                         cl::location(OptimizeForSize),
-                         cl::init(false));
+                      cl::location(OptimizeForSize),
+                      cl::init(false));
+
+static cl::opt<unsigned, true>
+OverrideStackAlignment("stack-alignment",
+                       cl::desc("Override default stack alignment"),
+                       cl::location(StackAlignment),
+                       cl::init(0));
 
 static cl::opt<bool, true>
 EnableRealignStack("realign-stack",
@@ -144,11 +151,11 @@ EnableRealignStack("realign-stack",
                    cl::location(RealignStack),
                    cl::init(true));
 
-static cl::opt<unsigned, true>
-OverrideStackAlignment("stack-alignment",
-                       cl::desc("Override default stack alignment"),
-                       cl::location(StackAlignment),
-                       cl::init(0));
+static cl::opt<bool, true>
+AsmVerbose("asm-verbose", cl::desc("Add comments to directives."),
+           cl::location(VerboseAsm),
+           cl::init(false));
+
 
 //---------------------------------------------------------------------------
 // TargetMachine Class