OSDN Git Service

Instructions with variable operands (variable_ops) can have a number required
authorEvan Cheng <evan.cheng@apple.com>
Thu, 15 Jun 2006 07:22:16 +0000 (07:22 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 15 Jun 2006 07:22:16 +0000 (07:22 +0000)
commit8d3af5e7d082dbd029c3987ceadbdcf9e49af6d7
tree547f49ec73cb087e6ccee2b0779efc5f2fc335ab
parentd7c2c86239dd543906c363e45e18766223d14c6e
Instructions with variable operands (variable_ops) can have a number required
operands. e.g.
def CALL32r : I<0xFF, MRM2r, (ops GR32:$dst, variable_ops),
                "call {*}$dst", [(X86call GR32:$dst)]>;
TableGen should emit operand informations for the "required" operands.

Added a target instruction info flag M_VARIABLE_OPS to indicate the target
instruction may have more operands in addition to the minimum required
operands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28791 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
utils/TableGen/InstrInfoEmitter.cpp