[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8RegisterInfo.td

Chris Lattner lattner at cs.uiuc.edu
Fri Aug 19 12:13:34 PDT 2005



Changes in directory llvm/lib/Target/SparcV8:

SparcV8RegisterInfo.td updated: 1.21 -> 1.22
---
Log message:

Split RegisterClass 'Methods' into MethodProtos and MethodBodies


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

 SparcV8RegisterInfo.td |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/SparcV8/SparcV8RegisterInfo.td
diff -u llvm/lib/Target/SparcV8/SparcV8RegisterInfo.td:1.21 llvm/lib/Target/SparcV8/SparcV8RegisterInfo.td:1.22
--- llvm/lib/Target/SparcV8/SparcV8RegisterInfo.td:1.21	Fri Aug 19 13:49:22 2005
+++ llvm/lib/Target/SparcV8/SparcV8RegisterInfo.td	Fri Aug 19 14:13:20 2005
@@ -97,8 +97,13 @@
                                      G0, // constant zero
                                      G5, G6, G7 // reserved for kernel
                                      ]> {
-  let Methods = [{
-    iterator allocation_order_end(MachineFunction &MF) const {
+  let MethodProtos = [{
+    iterator allocation_order_end(MachineFunction &MF) const;
+  }];
+  let MethodBodies = [{
+    IntRegsClass::iterator
+    IntRegsClass::allocation_order_end(MachineFunction &MF) const {
+      // FIXME: These special regs should be taken out of the regclass!
       return end()-10;  // Don't allocate special registers
     }
   }];






More information about the llvm-commits mailing list