Capture more operand info, patch by Evan Cheng

llvm-svn: 24422
This commit is contained in:
Chris Lattner 2005-11-19 07:00:10 +00:00
parent a22eae0163
commit 252d88c68e
1 changed files with 2 additions and 1 deletions

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