forked from OSchip/llvm-project
Require that targets specify a namespace for their register classes.
llvm-svn: 22921
This commit is contained in:
parent
74f60c306d
commit
3fb85f2702
|
@ -79,7 +79,10 @@ class RegisterGroup<string n, list<Register> aliases> : Register<n> {
|
|||
// 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.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue