================ @@ -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"; ---------------- 4vtomat wrote:
I think we can't, since the `RequiredFeatures` in `riscv_vector.td` already blocks the intrinsic generation, I guess we don't even need this check, do we? https://github.com/llvm/llvm-project/pull/106485 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits