[llvm] [RISCV][ISel] Add ISel support for experimental Zimop extension (PR #77089)

Lyut Nersisyan via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 18 22:59:32 PST 2024


================
@@ -108,6 +108,23 @@ let TargetPrefix = "riscv" in {
   def int_riscv_xperm8  : BitManipGPRGPRIntrinsics;
 } // TargetPrefix = "riscv"
 
+//===----------------------------------------------------------------------===//
+// May-Be-Operations
+
+let TargetPrefix = "riscv" in {
+
+  // Zimop
+  def int_riscv_mopr
+      : DefaultAttrsIntrinsic<[llvm_any_ty],
+                              [LLVMMatchType<0>, LLVMMatchType<0>],
+                              [IntrNoMem, IntrSpeculatable, ImmArg<ArgIndex<1>>]>;
+  def int_riscv_moprr
+      : DefaultAttrsIntrinsic<[llvm_any_ty],
+                              [LLVMMatchType<0>, LLVMMatchType<0>, LLVMMatchType<0>],
+                              [IntrNoMem, IntrSpeculatable, ImmArg<ArgIndex<2>>]>;
+
----------------
ln8-8 wrote:

Removed

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


More information about the llvm-commits mailing list