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

Chris Lattner lattner at cs.uiuc.edu
Wed Jan 11 17:29:08 PST 2006



Changes in directory llvm/lib/Target/SparcV8:

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

invert the sense of this switch and its name


---
Diffs of the changes:  (+4 -4)

 SparcV8TargetMachine.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp:1.34 llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp:1.35
--- llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp:1.34	Tue Dec 20 02:00:11 2005
+++ llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp	Wed Jan 11 19:28:56 2006
@@ -28,9 +28,9 @@
   // Register the target.
   RegisterTarget<SparcV8TargetMachine> X("sparcv8","  SPARC V8 (experimental)");
 
-  cl::opt<bool> DisableV8DAGDAG("disable-v8-dag-isel", cl::Hidden,
-                                cl::desc("Disable DAG-to-DAG isel for V8"),
-                                cl::init(1));
+  cl::opt<bool> EnableV8DAGDAG("enable-v8-dag-isel", cl::Hidden,
+                                cl::desc("Enable DAG-to-DAG isel for V8"),
+                                cl::init(0));
 }
 
 /// SparcV8TargetMachine ctor - Create an ILP32 architecture model
@@ -86,7 +86,7 @@
   if (PrintMachineCode)
     PM.add(new PrintFunctionPass());
 
-  if (DisableV8DAGDAG) {
+  if (!EnableV8DAGDAG) {
     // Replace malloc and free instructions with library calls.
     PM.add(createLowerAllocationsPass());
     PM.add(createLowerSelectPass());






More information about the llvm-commits mailing list