[PATCH] D23563: [RISCV 6/10] Add basic RISCVAsmParser
Tim Northover via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 18 16:01:46 PDT 2016
t.p.northover added a subscriber: t.p.northover.
================
Comment at: lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:298
@@ +297,3 @@
+ if (RegNo == 0)
+ return MatchOperand_ParseFail;
+ }
----------------
I think this should be MatchOperand_NoMatch. ParseFail normally means you've already lexed something so backtracking is impossible.
https://reviews.llvm.org/D23563
More information about the llvm-commits
mailing list