[PATCH] D153008: [RISCV] Allow slash-star comments in instruction operands

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 15 11:24:07 PDT 2023


MaskRay added a comment.

You may add a test file beside `llvm/test/CodeGen/RISCV/inline-asm*`. I hope that this patch focuses on `getLexer().Lex()` instances that actually cause a problem.

Many `getLexer().Lex()` instances followed by `is(...)` form a pattern that can be rewritten in a better way. I'll check these instances and fix them.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153008



More information about the cfe-commits mailing list