[llvm] [ASan][RISCV] Support asan check for segment load/store RVV intrinsics. (PR #161317)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 6 14:12:31 PDT 2025
================
@@ -2747,20 +2747,68 @@ bool RISCVTTIImpl::getTgtMemIntrinsic(IntrinsicInst *Inst,
Intrinsic::ID IID = Inst->getIntrinsicID();
LLVMContext &C = Inst->getContext();
bool HasMask = false;
+
+ auto getSegNum = [](const IntrinsicInst *II, unsigned PtrOperandNo,
----------------
fmayer wrote:
maybe just make this a `static` function'? this doesn't need to be inline
https://github.com/llvm/llvm-project/pull/161317
More information about the llvm-commits
mailing list