[llvm] [Asan] Provide TTI hook to provide memory reference infromation of target intrinsics. (PR #97070)
Yeting Kuo via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 5 00:17:07 PDT 2024
================
@@ -36,6 +37,72 @@ static cl::opt<unsigned> SLPMaxVF(
"exclusively by SLP vectorizer."),
cl::Hidden);
+bool RISCVTTIImpl::getMemoryRefInfo(SmallVectorImpl<MemoryRefInfo> &Interesting,
+ IntrinsicInst *II) const {
+ const DataLayout &DL = getDataLayout();
+ Intrinsic::ID IntNo = II->getIntrinsicID();
----------------
yetingk wrote:
Done.
https://github.com/llvm/llvm-project/pull/97070
More information about the llvm-commits
mailing list