[llvm] Add IntrWillReturn to intrinsics (PR #101562)
Kevin McAfee via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 8 10:59:12 PDT 2024
================
@@ -621,22 +621,22 @@ foreach inst = ["vfcmp_caf_d", "vfcmp_cun_d", "vfcmp_ceq_d", "vfcmp_cueq_d",
// LSX load/store
def int_loongarch_lsx_vld
: VecInt<[llvm_v16i8_ty], [llvm_ptr_ty, llvm_i32_ty],
- [IntrReadMem, IntrArgMemOnly, ImmArg<ArgIndex<1>>]>;
+ [IntrWillReturn, IntrReadMem, IntrArgMemOnly, ImmArg<ArgIndex<1>>]>;
----------------
kalxr wrote:
Originally avoided since these inherit from `VecInt`, but created class `DefaultAttrsVecInt` which inherits from `DefaultAttrsIntrinsic` instead of `Intrinsic` which should accomplish this.
https://github.com/llvm/llvm-project/pull/101562
More information about the llvm-commits
mailing list