[PATCH] D149443: [ARM] add Thumb-1 8-bit movs/adds relocations to LLVM

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 16 09:32:12 PDT 2023


MaskRay added inline comments.


================
Comment at: llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp:6422
+  // consume an optional trailing '#' (GNU compatibility)
+  if (getLexer().is(AsmToken::Hash))
+    Parser.Lex();
----------------
Use `parseOptionalToken`. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149443



More information about the cfe-commits mailing list