[llvm] [Asan] Provide TTI hook to provide memory reference infromation of ta… (PR #127753)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 21 00:32:37 PST 2025


nikic wrote:

> > We already have getTgtMemIntrinsic. If something else is needed we should augment that interface instead of adding yet another parallel one
> 
> getTgtMemIntrinsic is in TargetLowering so wouldn't be accessible to the middle end. Should it move to TTI or have a TTI wrapper around it?

We already have getTgtMemIntrinsic on TTI, though it's somewhat distinct from the TLI method (it's used for EarlyCSE).

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


More information about the llvm-commits mailing list