summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/utils/TableGen/AsmMatcherEmitter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
index d3b9676a1c5..6948a7ee645 100644
--- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp
+++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
@@ -763,7 +763,6 @@ static bool EmitStringMatcherForChar(const std::string &StrVariableName,
// If we have exactly one bucket to match, see how many characters are common
// across the whole set and match all of them at once.
- // length, just verify the rest of it with one if.
if (MatchesByLetter.size() == 1) {
unsigned FirstNonCommonLetter = FindFirstNonCommonLetter(Matches);
unsigned NumChars = FirstNonCommonLetter-CharNo;
OpenPOWER on IntegriCloud