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

Chris Lattner lattner at cs.uiuc.edu
Fri Aug 19 11:48:59 PDT 2005



Changes in directory llvm/lib/Target:

Target.td updated: 1.44 -> 1.45
---
Log message:

Require that targets specify a namespace for their register classes.


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

 Target.td |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.44 llvm/lib/Target/Target.td:1.45
--- llvm/lib/Target/Target.td:1.44	Thu Aug 18 18:17:07 2005
+++ llvm/lib/Target/Target.td	Fri Aug 19 13:48:48 2005
@@ -79,7 +79,10 @@
 // register classes.  This also defines the default allocation order of
 // registers by register allocators.
 //
-class RegisterClass<ValueType regType, int alignment, list<Register> regList> {
+class RegisterClass<string namespace, ValueType regType, int alignment,
+                    list<Register> regList> {
+  string Namespace = namespace;
+
   // RegType - Specify the ValueType of the registers in this register class.
   // Note that all registers in a register class must have the same ValueType.
   //






More information about the llvm-commits mailing list