[PATCH] D121345: [RISCV] Add +experimental-zvfh extension to cover half types in vectors.

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 13 19:50:42 PDT 2022


kito-cheng added inline comments.


================
Comment at: llvm/lib/Support/RISCVISAInfo.cpp:727
 
+  if (Exts.count("zvfh") && !Exts.count("zfh") && !Exts.count("zhinx"))
+    return createStringError(
----------------
Zvfh require `Zfhmin` rather than `Zfh`

Spec: `The Zvfh extension additionally requires the Zfhmin extension.`
https://github.com/riscv/riscv-v-spec/pull/780/files#diff-ea57dd7a8daf0aa62f553688c1970c8e6608945d25597f8661c5ea6670fb509cR5182



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121345/new/

https://reviews.llvm.org/D121345



More information about the llvm-commits mailing list