[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 22:11:03 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:

Isn't the 'c' version the one that needs Zfh? Assuming 'c' is the destination type. f16->i8

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


More information about the cfe-commits mailing list