diff --git a/lib/Target/Target.td b/lib/Target/Target.td index b55693c2f51..546eeec3c4c 100644 --- a/lib/Target/Target.td +++ b/lib/Target/Target.td @@ -35,6 +35,14 @@ def f128 : ValueType<128>; // 128-bit floating point value // class Register { string Namespace = ""; + string Name = ""; +} + +// NamedReg - If the name for the 'def' of the register should not become the +// "name" of the register, you can use this to specify a custom name instead. +// +class NamedReg : Register { + set Name = n; } // RegisterAliases - You should define instances of this class to indicate which