[llvm] [TTI] Support scalable offsets in getScalingFactorCost (PR #88113)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 03:28:29 PDT 2024


================
@@ -32,6 +32,8 @@ class Function;
 /// Base class for use as a mix-in that aids implementing
 /// a TargetTransformInfo-compatible class.
 class TargetTransformInfoImplBase {
+  friend class TargetTransformInfo;
----------------
paulwalker-arm wrote:

I just wondered why this is needed?

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


More information about the llvm-commits mailing list