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

Chris Lattner lattner at cs.uiuc.edu
Mon Mar 1 09:29:01 PST 2004


Changes in directory llvm/lib/Target/SparcV9:

SparcV9TargetMachine.cpp updated: 1.103 -> 1.104

---
Log message:

Add this back, as its absence introduces assertions, and it seems to work now
that Instructions are annotable again


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

Index: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.103 llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.104
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.103	Mon Mar  1 00:43:29 2004
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp	Mon Mar  1 09:28:27 2004
@@ -177,11 +177,8 @@
   // function has been emitted.
   PM.add(createAsmPrinterPass(Out, *this));
 
-  // FIXME: this pass crashes if added; there is a double deletion going on
-  // somewhere inside it. This is caught when running the SparcV9 code generator
-  // on X86, but is typically ignored when running natively.
   // Free machine-code IR which is no longer needed:
-  // PM.add(createSparcV9MachineCodeDestructionPass());
+  PM.add(createSparcV9MachineCodeDestructionPass());
 
   // Emit bytecode to the assembly file into its special section next
   if (EmitMappingInfo)





More information about the llvm-commits mailing list