[llvm] [VP][RISCV] Introduce vp.splat and RISC-V. (PR #98731)
Fraser Cormack via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 01:27:43 PDT 2024
================
@@ -22841,6 +22841,51 @@ Examples:
llvm.experimental.vp.splice(<A,B,C,D>, <E,F,G,H>, -2, 3, 2); ==> <B, C, poison, poison> trailing elements
+.. _int_experimental_vp_splat:
+
+
+'``llvm.experimental.vp.splat``' Intrinsic
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Syntax:
+"""""""
+This is an overloaded intrinsic.
+
+::
+
+ declare <2 x double> @llvm.experimental.vp.splat.v2f64(<2 x double> %vec, <2 x i1> %mask, i32 %evl)
----------------
frasercrmck wrote:
This should probably be something like `(double %scalar, <2 x i1> %mask, i32 %evl)`
https://github.com/llvm/llvm-project/pull/98731
More information about the llvm-commits
mailing list