Capture more operand info, patch by Evan Cheng
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24422 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Target.td b/lib/Target/Target.td
index e72bff2..af1872d 100644
--- a/lib/Target/Target.td
+++ b/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>;