aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-19 07:00:10 +0000
committerChris Lattner <sabre@nondot.org>2005-11-19 07:00:10 +0000
commitbe7a2ff2dd53a779542039a77fc1524d26ec1224 (patch)
tree84081e3ddaae7d534fbd28f266538f4dbc9995a3
parent44fa764355eec81d8ef8fbd63824695b1554c4ab (diff)
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
-rw-r--r--lib/Target/Target.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Target.td b/lib/Target/Target.td
index e72bff2674..af1872db52 100644
--- a/lib/Target/Target.td
+++ b/lib/Target/Target.td
@@ -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>;