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

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 16 15:48:01 PDT 2024


minglotus-6 wrote:

Hi, this PR demonstrates a change to make `isOffsetFoldingLegal` available for middle-end optimizers. May I get some comments / feedback on whether this looks reasonable to pursue? Also are there any downsides of exposing this `offsetfoldinglegal` (a part of TargetLowering and meant for selection-dag) to middle-end? Thanks!

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


More information about the llvm-commits mailing list