[clang] [clang][RISCV] Fix typo of vector crypto in SemaRISCV.cpp. NFC (PR #106485)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 28 21:33:11 PDT 2024
================
@@ -733,7 +733,7 @@ bool SemaRISCV::CheckBuiltinFunctionCall(const TargetInfo &TI,
if (ElemSize == 64 && !TI.hasFeature("zvknhb"))
return Diag(TheCall->getBeginLoc(),
diag::err_riscv_builtin_requires_extension)
- << /* IsExtension */ true << TheCall->getSourceRange() << "zvknb";
+ << /* IsExtension */ true << TheCall->getSourceRange() << "zvknhb";
----------------
topperc wrote:
Can we have a test for this?
https://github.com/llvm/llvm-project/pull/106485
More information about the cfe-commits
mailing list