[PATCH] D132819: [RISCV] Add MC support of RISCV zcmp Extension

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


MaskRay added inline comments.
Herald added a subscriber: wangpc.


================
Comment at: llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:2442
+OperandMatchResultTy RISCVAsmParser::parseZcmpSpimm(OperandVector &Operands) {
+  if (getLexer().is(AsmToken::Minus))
+    getLexer().Lex();
----------------
Ignoring `AsmToken::Minus`  looks suspicious.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132819



More information about the cfe-commits mailing list