Make RegisterOperand a subclass of DAGOperand so that RegisterOperands can be passed into multiclasses that take DAGOperands as multiclass parameters.
llvm-svn: 160540
This commit is contained in:
parent
d9d5cf5413
commit
3a8bdb5677
|
@ -564,7 +564,8 @@ class Operand<ValueType ty> : DAGOperand {
|
|||
AsmOperandClass ParserMatchClass = ImmAsmOperand;
|
||||
}
|
||||
|
||||
class RegisterOperand<RegisterClass regclass, string pm = "printOperand"> {
|
||||
class RegisterOperand<RegisterClass regclass, string pm = "printOperand">
|
||||
: DAGOperand {
|
||||
// RegClass - The register class of the operand.
|
||||
RegisterClass RegClass = regclass;
|
||||
// PrintMethod - The target method to call to print register operands of
|
||||
|
|
Loading…
Reference in New Issue