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

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 24 09:42:59 PST 2025


mshockwave wrote:

> > > 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?
> 
> But you can get TargetLowering in the middle end

Technically you can ask for a TargetMachine from the Pass ctor and get TLI from it, but I don't think we have a wrapper Pass for TargetLowering (yet)?

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


More information about the llvm-commits mailing list