[llvm] [TTI][TLI] Expose TargetLowering::isOffsetFoldingLegal (backend) to TargetTransformInfo for middle-end cost-benefit analysis (PR #104644)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 00:24:34 PDT 2024
================
@@ -665,6 +665,8 @@ class TargetTransformInfo {
void getPeelingPreferences(Loop *L, ScalarEvolution &SE,
PeelingPreferences &PP) const;
+ bool isOffsetFoldingLegal(const GlobalValue *GV) const;
----------------
arsenm wrote:
This still doesn't explain to me what "legal" means in this context. What offset? And for what value?
https://github.com/llvm/llvm-project/pull/104644
More information about the llvm-commits
mailing list