llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Brandon Wu (4vtomat) <details> <summary>Changes</summary> It's missing in the patch supporting `zvfbfmin` intrinsics. --- Full diff: https://github.com/llvm/llvm-project/pull/102149.diff 1 Files Affected: - (modified) clang/include/clang/Basic/riscv_vector.td (+6-2) ``````````diff diff --git a/clang/include/clang/Basic/riscv_vector.td b/clang/include/clang/Basic/riscv_vector.td index dda2dcb9f4ff6..69ac87297149c 100644 --- a/clang/include/clang/Basic/riscv_vector.td +++ b/clang/include/clang/Basic/riscv_vector.td @@ -2547,12 +2547,16 @@ let HasMasked = false, HasVL = false, IRName = "" in { } }] in { foreach dst_lmul = ["(SFixedLog2LMUL:0)", "(SFixedLog2LMUL:1)", "(SFixedLog2LMUL:2)"] in { - def : RVVBuiltin<"v" # dst_lmul # "v", dst_lmul # "vvKz", "csilxfdy", dst_lmul # "v">; + def : RVVBuiltin<"v" # dst_lmul # "v", dst_lmul # "vvKz", "csilxfd", dst_lmul # "v">; + let RequiredFeatures = ["Zvfbfmin"] in + def : RVVBuiltin<"v" # dst_lmul # "v", dst_lmul # "vvKz", "y", dst_lmul # "v">; def : RVVBuiltin<"Uv" # dst_lmul # "Uv", dst_lmul # "UvUvKz", "csil", dst_lmul # "Uv">; } foreach nf = NFList in { defvar T = "(Tuple:" # nf # ")"; - def : RVVBuiltin<T # "vv", "v" # T # "vKz", "csilxfdy", "v">; + def : RVVBuiltin<T # "vv", "v" # T # "vKz", "csilxfd", "v">; + let RequiredFeatures = ["Zvfbfmin"] in + def : RVVBuiltin<T # "vv", "v" # T # "vKz", "y", "v">; def : RVVBuiltin<T # "UvUv", "Uv" # T # "UvKz", "csil", "Uv">; } } `````````` </details> https://github.com/llvm/llvm-project/pull/102149 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits