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

Brandon Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 1 23:32:59 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"]]>;
----------------
4vtomat wrote:

Yeah, I think we are not able to handle this in current approach, I'll have another PR to use the `RequiredFeatures` and remove current type checking approach.

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


More information about the cfe-commits mailing list