[PATCH] D156034: [LAA] Make MaxSafeDepDistBytes private in LoopAccessAnalysis

Michael Maitland via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 22 14:06:39 PDT 2023


michaelmaitland created this revision.
michaelmaitland added reviewers: reames, fhahn, Ayal, ABataev.
Herald added a subscriber: StephenFan.
Herald added a project: All.
michaelmaitland requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Any users of LoopAccessAnalysis should use MaxSafeVectorWidthInBits.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156034

Files:
  llvm/include/llvm/Analysis/LoopAccessAnalysis.h


Index: llvm/include/llvm/Analysis/LoopAccessAnalysis.h
===================================================================
--- llvm/include/llvm/Analysis/LoopAccessAnalysis.h
+++ llvm/include/llvm/Analysis/LoopAccessAnalysis.h
@@ -591,7 +591,6 @@
   /// Returns true if value \p V is loop invariant.
   bool isInvariant(Value *V) const;
 
-  uint64_t getMaxSafeDepDistBytes() const { return MaxSafeDepDistBytes; }
   unsigned getNumStores() const { return NumStores; }
   unsigned getNumLoads() const { return NumLoads;}
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156034.543225.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230722/4bbc4bef/attachment.bin>


More information about the llvm-commits mailing list