[llvm-commits] CVS: llvm/lib/Target/TargetMachine.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Jan 14 22:00:44 PST 2005



Changes in directory llvm/lib/Target:

TargetMachine.cpp updated: 1.34 -> 1.35
---
Log message:

Add a new target-independent code generator flag.



---
Diffs of the changes:  (+6 -0)

Index: llvm/lib/Target/TargetMachine.cpp
diff -u llvm/lib/Target/TargetMachine.cpp:1.34 llvm/lib/Target/TargetMachine.cpp:1.35
--- llvm/lib/Target/TargetMachine.cpp:1.34	Wed Sep  1 17:55:35 2004
+++ llvm/lib/Target/TargetMachine.cpp	Sat Jan 15 00:00:32 2005
@@ -24,6 +24,7 @@
 namespace llvm {
   bool PrintMachineCode;
   bool NoFramePointerElim;
+  bool NoExcessFPPrecision;
 };
 namespace {
   cl::opt<bool, true> PrintCode("print-machineinstrs",
@@ -35,6 +36,11 @@
                   cl::desc("Disable frame pointer elimination optimization"),
                   cl::location(NoFramePointerElim),
                   cl::init(false));
+  cl::opt<bool, true>
+  DisableExcessPrecision("disable-excess-fp-precision",
+                         cl::desc("Disable optimizations that may increase FP precision"),
+                         cl::location(NoExcessFPPrecision),
+                         cl::init(false));
 };
 
 //---------------------------------------------------------------------------






More information about the llvm-commits mailing list