[all-commits] [llvm/llvm-project] 6e2ade: [RISCV] Return MatchOperand_ParseFail instead of M...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Mar 7 14:47:14 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6e2ade23c7944a09241d6cafe559f05b39cb17e8
https://github.com/llvm/llvm-project/commit/6e2ade23c7944a09241d6cafe559f05b39cb17e8
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Log Message:
-----------
[RISCV] Return MatchOperand_ParseFail instead of MatchOperand_NoMatch from parseFPImm.
MatchOperand_NoMatch will fall back to regular operand parsing.
Returning MatchOperand_ParseFail will prevent this.
We also printed our own error message which we should only do for
MatchOperand_ParseFail.
More information about the All-commits
mailing list