[llvm] [RISCV] Add IntrArgMemOnly for vector load/store intrinsic (PR #78415)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 17 04:07:06 PST 2024
================
@@ -177,7 +179,8 @@ let TargetPrefix = "riscv" in {
[LLVMMatchType<0>, llvm_ptr_ty,
LLVMScalarOrSameVectorWidth<0, llvm_i1_ty>,
llvm_anyint_ty, LLVMMatchType<1>],
- [NoCapture<ArgIndex<1>>, ImmArg<ArgIndex<4>>, IntrReadMem]>,
+ [NoCapture<ArgIndex<1>>, ImmArg<ArgIndex<4>>, IntrReadMem,
----------------
lukel97 wrote:
I presume no, from the definition of IntrArgMemOnly in Intrinsics.td:
> Other than reads from and (possibly volatile) writes to memory, it has no side effects.
https://github.com/llvm/llvm-project/pull/78415
More information about the llvm-commits
mailing list