Index: clang/include/clang/Support/RISCVVIntrinsicUtils.h =================================================================== --- clang/include/clang/Support/RISCVVIntrinsicUtils.h +++ clang/include/clang/Support/RISCVVIntrinsicUtils.h @@ -463,8 +463,9 @@ RVV_REQ_RV64 = 1 << 0, RVV_REQ_FullMultiply = 1 << 1, RVV_REQ_Xsfvcp = 1 << 2, + RVV_REQ_Xtheadvdot = 1 << 3, - LLVM_MARK_AS_BITMASK_ENUM(RVV_REQ_Xsfvcp) + LLVM_MARK_AS_BITMASK_ENUM(RVV_REQ_Xtheadvdot) }; // Raw RVV intrinsic info, used to expand later. Index: clang/utils/TableGen/RISCVVEmitter.cpp =================================================================== --- clang/utils/TableGen/RISCVVEmitter.cpp +++ clang/utils/TableGen/RISCVVEmitter.cpp @@ -634,6 +634,7 @@ .Case("RV64", RVV_REQ_RV64) .Case("FullMultiply", RVV_REQ_FullMultiply) .Case("Xsfvcp", RVV_REQ_Xsfvcp) + .Case("Xtheadvdot", RVV_REQ_Xtheadvdot) .Default(RVV_REQ_None); assert(RequireExt != RVV_REQ_None && "Unrecognized required feature?"); SR.RequiredExtensions |= RequireExt;