[llvm] 01921bd - [RISCV] Fix typo zamo -> zaamo (#93792)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 30 04:18:36 PDT 2024
Author: Jerry Zhang Jian
Date: 2024-05-30T19:18:33+08:00
New Revision: 01921bd4f155dbbddd49b818341190a8cb2f20c4
URL: https://github.com/llvm/llvm-project/commit/01921bd4f155dbbddd49b818341190a8cb2f20c4
DIFF: https://github.com/llvm/llvm-project/commit/01921bd4f155dbbddd49b818341190a8cb2f20c4.diff
LOG: [RISCV] Fix typo zamo -> zaamo (#93792)
Signed-off-by: Jerry Zhang Jian <jerry.zhangjian at sifive.com>
Added:
Modified:
llvm/lib/TargetParser/RISCVISAInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/TargetParser/RISCVISAInfo.cpp b/llvm/lib/TargetParser/RISCVISAInfo.cpp
index 01d0c71c25a92..4e0d07d39f9ba 100644
--- a/llvm/lib/TargetParser/RISCVISAInfo.cpp
+++ b/llvm/lib/TargetParser/RISCVISAInfo.cpp
@@ -839,12 +839,12 @@ Error RISCVISAInfo::checkDependency() {
return createStringError(errc::invalid_argument,
"'zcf' is only supported for 'rv32'");
- if (Exts.count("zacas") && !(Exts.count("a") || Exts.count("zamo")))
+ if (Exts.count("zacas") && !(Exts.count("a") || Exts.count("zaamo")))
return createStringError(
errc::invalid_argument,
"'zacas' requires 'a' or 'zaamo' extension to also be specified");
- if (Exts.count("zabha") && !(Exts.count("a") || Exts.count("zamo")))
+ if (Exts.count("zabha") && !(Exts.count("a") || Exts.count("zaamo")))
return createStringError(
errc::invalid_argument,
"'zabha' requires 'a' or 'zaamo' extension to also be specified");
More information about the llvm-commits
mailing list