[llvm] [RISCV] Intrinsic Support for XCVsimd (PR #118557)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 15:07:21 PST 2024


================
@@ -42,6 +42,70 @@ class ScalarCoreVMacGprGprGprImmIntrinsic
   : Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty, llvm_i32_ty, llvm_i32_ty],
               [IntrNoMem, IntrWillReturn, IntrSpeculatable, ImmArg<ArgIndex<3>>]>;
 
+class ScalarCoreVSimdGprIntrinsic
+    : Intrinsic<[llvm_i32_ty], [llvm_i32_ty],
----------------
topperc wrote:

I think these should all use DefaultAttrsIntrinsic instead of Intrinsic. That automatically includes IntrWillReturn.

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


More information about the llvm-commits mailing list