mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 13:46:13 +00:00
Variable ops instructions may ignore the last few operands for code emission.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30134 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c1e6e138e3
commit
3530bafe00
@ -526,5 +526,7 @@ void Emitter::emitInstruction(const MachineInstr &MI) {
|
||||
++CurOp;
|
||||
break;
|
||||
}
|
||||
assert(CurOp == MI.getNumOperands() && "Unknown encoding!");
|
||||
|
||||
if ((Desc.Flags & M_VARIABLE_OPS) == 0)
|
||||
assert(CurOp == MI.getNumOperands() && "Unknown encoding!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user