[clang] [RISCV][sema] Correct the requirement of `vf[|n|w]cvt.f.*` intrinsics (PR #101608)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 1 23:03:04 PDT 2024


================
@@ -2011,9 +2021,15 @@ let ManualCodegen = [{
           RVVConvBuiltinSet<"vfncvt_xu_f_w", "csi", [["Uv", "UvFwu"]]>;
       let OverloadedName = "vfncvt_f" in {
         defm :
-          RVVConvBuiltinSet<"vfncvt_f_x_w", "csi", [["Fv", "Fvwu"]]>;
+          RVVConvBuiltinSet<"vfncvt_f_x_w", "ci", [["Fv", "Fvwu"]]>;
----------------
topperc wrote:

Zvfhmin only supports those 2 versions of conversion.

The base Zve/V spec doesn't support any FP operands with EEW=16. Zvfhmin extends the base Zve/V extensions by adding just those 2 conversions.

https://github.com/llvm/llvm-project/pull/101608


More information about the cfe-commits mailing list