forked from OSchip/llvm-project
Capture more operand info, patch by Evan Cheng
llvm-svn: 24422
This commit is contained in:
parent
a22eae0163
commit
252d88c68e
|
@ -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>;
|
||||
|
|
Loading…
Reference in New Issue