[PATCH] D75111: [MC] Allowing the use of $-prefixed integer as asm identifiers

James Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 04:19:22 PST 2020


jrtc27 added inline comments.


================
Comment at: llvm/lib/MC/MCParser/AsmParser.cpp:2861
 
     // We have a '$' or '@' followed by an identifier, make sure they are adjacent.
     if (PrefixLoc.getPointer() + 1 != Buf[0].getLoc().getPointer())
----------------
Comment is outdated


================
Comment at: llvm/lib/MC/MCParser/AsmParser.cpp:2867
     Lexer.Lex(); // Lexer's Lex guarantees consecutive token.
     // Construct the joined identifier and consume the token.
     Res =
----------------
Ditto


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75111





More information about the llvm-commits mailing list