[PATCH] D124161: [RISCV][AsmParser] Fix parsing of the components of the vtype immediate of vsetvli

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 09:31:20 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:1724
   while (getLexer().isNot(AsmToken::EndOfStatement)) {
     VTypeIElements.push_back(getLexer().getTok());
     getLexer().Lex();
----------------
Should we have been checking that they were identifiers up here?


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

https://reviews.llvm.org/D124161



More information about the llvm-commits mailing list