[llvm] [TTI][TLI] Expose TargetLowering::isOffsetFoldingLegal (backend) to TargetTransformInfo for middle-end cost-benefit analysis (PR #104644)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 1 21:13:19 PDT 2024


minglotus-6 wrote:

> > can you post a use case PR separately? I'm not sure what you can do with this in the IR
> 
> Sure! I'll add one tomorrow.

Sorry I lied about the timeline.  https://github.com/llvm/llvm-project/pull/105620 is a half-way attempt to add a use case but this tuning doesn't make practical difference. I'll close this change to export TLI to TTI, as there isn't an active use case.

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


More information about the llvm-commits mailing list