diff --git a/llvm/utils/TableGen/DAGISelMatcherGen.cpp b/llvm/utils/TableGen/DAGISelMatcherGen.cpp index 49c09c7d195e2..6a86868a9bcdc 100644 --- a/llvm/utils/TableGen/DAGISelMatcherGen.cpp +++ b/llvm/utils/TableGen/DAGISelMatcherGen.cpp @@ -1047,7 +1047,6 @@ void MatcherGen::EmitResultCode() { } } - assert(Ops.size() >= NumSrcResults && "Didn't provide enough results"); SmallVector Results(Ops); // Apply result permutation.