We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32d7211 commit 028b690Copy full SHA for 028b690
llvm/utils/TableGen/DAGISelMatcherOpt.cpp
@@ -361,8 +361,7 @@ static void FactorNodes(std::unique_ptr<Matcher> &InputMatcherPtr) {
361
}
362
363
// Trim the array to match the updated end.
364
- if (E != OptionsToMatch.end())
365
- OptionsToMatch.erase(E, OptionsToMatch.end());
+ OptionsToMatch.erase(E, OptionsToMatch.end());
366
367
// If we're down to a single pattern to match, then we don't need this scope
368
// anymore.
0 commit comments