[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 23 15:32:42 PDT 2024


================
@@ -955,6 +956,10 @@ class TargetTransformInfo {
   MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
                                                bool IsZeroCmp) const;
 
+  // Add MemoryRefInfo of Intrinsic \p II into array \p Interesting.
+  bool getMemoryRefInfo(SmallVectorImpl<MemoryRefInfo> &Interesting,
+                        IntrinsicInst *II) const;
----------------
topperc wrote:

`const IntrinsicInst *II`

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


More information about the llvm-commits mailing list