forked from OSchip/llvm-project
Remove an invalid assertion now that there are implicit virtual register operands.
llvm-svn: 47493
This commit is contained in:
parent
ea1ef87ea2
commit
b1d1f9f0a9
|
@ -122,8 +122,6 @@ public:
|
|||
/// it is set. Returns -1 if it is not set.
|
||||
int getOperandConstraint(unsigned OpNum,
|
||||
TOI::OperandConstraint Constraint) const {
|
||||
assert((OpNum < NumOperands || isVariadic()) &&
|
||||
"Invalid operand # of TargetInstrInfo");
|
||||
if (OpNum < NumOperands &&
|
||||
(OpInfo[OpNum].Constraints & (1 << Constraint))) {
|
||||
unsigned Pos = 16 + Constraint * 4;
|
||||
|
|
Loading…
Reference in New Issue