mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-19 19:52:00 +00:00
Require that targets specify a namespace for their register classes.
llvm-svn: 22921
This commit is contained in:
parent
cef54bfd28
commit
9a9fe27bd2
@ -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…
x
Reference in New Issue
Block a user