[llvm] [Asan] Provide TTI hook to provide memory reference infromation of target intrinsics. (PR #97070)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 22:05:58 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();
----------------
topperc wrote:

IntNo -> IID

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


More information about the llvm-commits mailing list