diff options
-rw-r--r-- | include/llvm/Target/TargetInstrDesc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetInstrDesc.h b/include/llvm/Target/TargetInstrDesc.h index 34e295cfb6..16142c656a 100644 --- a/include/llvm/Target/TargetInstrDesc.h +++ b/include/llvm/Target/TargetInstrDesc.h @@ -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; |