Add support to tablegen for specifying subregister classes on a per register class...
[oota-llvm.git] / lib / Target / Target.td
index d646e28c1d1f7f1eae76956a5d75cdaf18f24216..4babef15747d22d016248dd48bf5757dbda4bbfd 100644 (file)
@@ -109,6 +109,10 @@ class RegisterClass<string namespace, list<ValueType> regTypes, int alignment,
   // allocation used by the register allocator.
   //
   list<Register> MemberList = regList;
+  
+  // SubClassList - Specify which register classes correspond to subregisters
+  // of this class. The order should be by subregister set index.
+  list<RegisterClass> SubRegClassList = [];
 
   // MethodProtos/MethodBodies - These members can be used to insert arbitrary
   // code into a generated register class.   The normal usage of this is to