================ @@ -6046,6 +6046,13 @@ void Sema::checkRVVTypeSupport(QualType Ty, SourceLocation Loc, Decl *D) { !TI.hasFeature("zvfh") && !TI.hasFeature("zvfhmin")) Diag(Loc, diag::err_riscv_type_requires_extension, D) << Ty << "zvfh or zvfhmin"; + // Check if enabled zfbfmin/zvfbfmin for BFloat16 + if (Ty->isRVVType(/* Bitwidth */ 16, /* IsFloat */ false, + /* IsBFloat */ true) && + !TI.hasFeature("experimental-zfbfmin") && ---------------- sunshaoce wrote:
Removed. Thanks! https://github.com/llvm/llvm-project/pull/71140 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits