[PATCH] D36744: [Asm] Finish matching once end of formal and actual lists reached (NFC)

Oliver Stannard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 07:13:41 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL318769: [Asm] Finish matching once end of formal and actual lists reached (NFC) (authored by olista01).

Changed prior to commit:
  https://reviews.llvm.org/D36744?vs=111172&id=123788#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D36744

Files:
  llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp


Index: llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
===================================================================
--- llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
+++ llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
@@ -3323,6 +3323,7 @@
     OS << "          }\n";
     OS << "        } else {\n";
     OS << "          DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \"but formal operand not required\\n\");\n";
+    OS << "          break;\n";
     OS << "        }\n";
     OS << "        continue;\n";
   } else {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36744.123788.patch
Type: text/x-patch
Size: 525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171121/dd467950/attachment.bin>


More information about the llvm-commits mailing list