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

Brian Gaeke gaeke at cs.uiuc.edu
Thu Jun 3 00:12:30 PDT 2004


Changes in directory llvm/lib/Target/SparcV9:

SparcV9TargetMachine.cpp updated: 1.112 -> 1.113

---
Log message:

Add new mapping info pass, when EmitMappingInfo is on.


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

Index: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.112 llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.113
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.112	Fri May 28 14:33:59 2004
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp	Thu Jun  3 00:03:01 2004
@@ -179,8 +179,10 @@
   if (!DisablePeephole)
     PM.add(createPeepholeOptsPass(*this));
 
-  if (EmitMappingInfo)
-    PM.add(getMappingInfoAsmPrinterPass(Out));  
+  if (EmitMappingInfo) {
+    PM.add(createInternalGlobalMapperPass());
+    PM.add(getMappingInfoAsmPrinterPass(Out));
+  }
 
   // Output assembly language to the .s file.  Assembly emission is split into
   // two parts: Function output and Global value output.  This is because





More information about the llvm-commits mailing list