Capture more operand info, patch by Evan Cheng
authorChris Lattner <sabre@nondot.org>
Sat, 19 Nov 2005 07:00:10 +0000 (07:00 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 19 Nov 2005 07:00:10 +0000 (07:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24422 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Target.td

index e72bff267435a0f970f57b48394196864b8e9bb9..af1872db5274022fe33f5247ee537a6ff185b4c5 100644 (file)
@@ -172,9 +172,10 @@ def variable_ops;
 /// 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>;