[PATCH] D150253: [RISCV] Add Zvfhmin extension.
Michael Maitland via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 23 10:42:50 PDT 2023
michaelmaitland added inline comments.
================
Comment at: clang/lib/Sema/Sema.cpp:2049
+ !TI.hasFeature("experimental-zvfhmin"))
+ Diag(Loc, diag::err_riscv_type_requires_extension, FD) << Ty << "zvfh";
if (Ty->isRVVType(/* Bitwidth */ 32, /* IsFloat */ true) &&
----------------
michaelmaitland wrote:
> Should this output `zvfhmin` instead of `zvfh` when `experimental-zvfhmin` feature is not included?
Or maybe it makes more sense to change `"zvfh"` to `"zvfh or zvfhmin"`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150253/new/
https://reviews.llvm.org/D150253
More information about the llvm-commits
mailing list