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
This commit is contained in:
Chris Lattner 2005-11-19 07:00:10 +00:00
parent 44fa764355
commit be7a2ff2dd

View 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>;