[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:53 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]>;
----------------
topperc wrote:
These properties make these intrinsics useless for implementing any of the defined overrides of may-be-operations like SSPUSH or SSPOPCHK. But that's how the intrinsic spec is written so this is fine.
https://github.com/llvm/llvm-project/pull/77089
More information about the llvm-commits
mailing list