Skip to content

Commit 01921bd

Browse files
authored
[RISCV] Fix typo zamo -> zaamo (#93792)
Signed-off-by: Jerry Zhang Jian <[email protected]>
1 parent 2705c60 commit 01921bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/TargetParser/RISCVISAInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -839,12 +839,12 @@ Error RISCVISAInfo::checkDependency() {
839839
return createStringError(errc::invalid_argument,
840840
"'zcf' is only supported for 'rv32'");
841841

842-
if (Exts.count("zacas") && !(Exts.count("a") || Exts.count("zamo")))
842+
if (Exts.count("zacas") && !(Exts.count("a") || Exts.count("zaamo")))
843843
return createStringError(
844844
errc::invalid_argument,
845845
"'zacas' requires 'a' or 'zaamo' extension to also be specified");
846846

847-
if (Exts.count("zabha") && !(Exts.count("a") || Exts.count("zamo")))
847+
if (Exts.count("zabha") && !(Exts.count("a") || Exts.count("zaamo")))
848848
return createStringError(
849849
errc::invalid_argument,
850850
"'zabha' requires 'a' or 'zaamo' extension to also be specified");

0 commit comments

Comments
 (0)