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

Chris Lattner lattner at cs.uiuc.edu
Sun May 23 16:25:11 PDT 2004


Changes in directory llvm/lib/Target/SparcV9:

SparcV9TargetMachine.cpp updated: 1.110 -> 1.111

---
Log message:

Add support for accurate garbage collection to the LLVM code generators



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

Index: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.110 llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.111
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.110	Sun Apr 25 02:04:49 2004
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp	Sun May 23 16:23:33 2004
@@ -125,6 +125,9 @@
 bool
 SparcV9TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out)
 {
+  // FIXME: Implement efficient support for garbage collection intrinsics.
+  PM.add(createLowerGCPass());
+
   // Replace malloc and free instructions with library calls.
   PM.add(createLowerAllocationsPass());
   
@@ -199,6 +202,9 @@
 /// generation for the UltraSparcV9.
 ///
 void SparcV9JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
+  // FIXME: Implement efficient support for garbage collection intrinsics.
+  PM.add(createLowerGCPass());
+
   // Replace malloc and free instructions with library calls.
   PM.add(createLowerAllocationsPass());
   





More information about the llvm-commits mailing list