[clang] da8fb7f - [clang][RISCV] Fix typo of vector crypto in SemaRISCV.cpp. NFC (#106485)

via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 4 21:47:04 PDT 2024


Author: Brandon Wu
Date: 2024-09-05T12:47:00+08:00
New Revision: da8fb7f4dddf48b2395f80dc09efffe38efa3d2f

URL: https://github.com/llvm/llvm-project/commit/da8fb7f4dddf48b2395f80dc09efffe38efa3d2f
DIFF: https://github.com/llvm/llvm-project/commit/da8fb7f4dddf48b2395f80dc09efffe38efa3d2f.diff

LOG: [clang][RISCV] Fix typo of vector crypto in SemaRISCV.cpp. NFC (#106485)

Added: 
    

Modified: 
    clang/lib/Sema/SemaRISCV.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/SemaRISCV.cpp b/clang/lib/Sema/SemaRISCV.cpp
index abf8e4ac2f3e8a..56d6f12fbc6e4a 100644
--- a/clang/lib/Sema/SemaRISCV.cpp
+++ b/clang/lib/Sema/SemaRISCV.cpp
@@ -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";
 
     return CheckInvalidVLENandLMUL(TI, TheCall, SemaRef, Op1Type,
                                    ElemSize * 4) ||


        


More information about the cfe-commits mailing list