Capture more operand info, patch by Evan Cheng
llvm-svn: 24422
diff --git a/llvm/lib/Target/Target.td b/llvm/lib/Target/Target.td
index e72bff2..af1872d 100644
--- a/llvm/lib/Target/Target.td
+++ b/llvm/lib/Target/Target.td
@@ -172,9 +172,10 @@
/// by a target. Targets can optionally provide their own operand types as
/// needed, though this should not be needed for RISC targets.
class Operand<ValueType ty> {
- int NumMIOperands = 1;
ValueType Type = ty;
string PrintMethod = "printOperand";
+ int NumMIOperands = 1;
+ dag MIOperandInfo = (ops);
}
def i1imm : Operand<i1>;