[llvm] [RISCV][ISel] Add ISel support for experimental Zimop extension (PR #77089)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 5 09:49:52 PST 2024
================
@@ -108,6 +108,29 @@ let TargetPrefix = "riscv" in {
def int_riscv_xperm8 : BitManipGPRGPRIntrinsics;
} // TargetPrefix = "riscv"
+//===----------------------------------------------------------------------===//
+// May-Be-Operations
+
+let TargetPrefix = "riscv" in {
+
+ class MOPGPRIntrinsics
+ : DefaultAttrsIntrinsic<[llvm_any_ty],
+ [LLVMMatchType<0>],
+ [IntrNoMem, IntrSpeculatable]>;
+ class MOPGPRGPRIntrinsics
+ : DefaultAttrsIntrinsic<[llvm_any_ty],
+ [LLVMMatchType<0>, LLVMMatchType<0>],
+ [IntrNoMem, IntrSpeculatable]>;
+
+ // Zimop
+ foreach i = 0...31 in {
----------------
topperc wrote:
This is indented 3 spaces
https://github.com/llvm/llvm-project/pull/77089
More information about the llvm-commits
mailing list