[PATCH] D128944: [ms] [llvm-ml] Add support for anonymous labels (`@@`, `@B`, `@F`)

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 09:22:44 PDT 2022


rnk accepted this revision.
rnk added a subscriber: ayzhao.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm, thanks!

cc + at ayzhao



================
Comment at: llvm/lib/MC/MCParser/MasmParser.cpp:2260
+    // Rewrite anonymous labels
+    std::string Label = IDVal.str();
+    if (IDVal == "@@") {
----------------
Can `IDVal` be used directly in place of `Label` below to simplify?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128944/new/

https://reviews.llvm.org/D128944



More information about the llvm-commits mailing list