[clang] [RISCV][clang] Add Zvfbfmin C intrinsics support (PR #79618)

Jim Lin via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 29 21:52:20 PST 2024


================
@@ -282,6 +282,9 @@ void RISCVIntrinsicManagerImpl::ConstructRVVIntrinsics(
         }
       }
 
+      if (BaseType == BasicType::BFloat16 && !TI.hasFeature("zvfbfmin"))
----------------
tclin914 wrote:

bfloat vector is only valid when zvfbfmin is enabled. So it doesn't need to check again.

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


More information about the cfe-commits mailing list