[llvm] [LAA] Use MaxStride instead of CommonStride to calculate MaxVF (PR #98142)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 07:34:22 PDT 2024


================
@@ -2233,7 +2233,7 @@ MemoryDepChecker::Dependence::DepType MemoryDepChecker::isDependent(
 
   // An update to MinDepDistBytes requires an update to MaxSafeVectorWidthInBits
   // since there is a backwards dependency.
----------------
fhahn wrote:

```suggestion
  // since there is a backwards dependency. We use MaxStride to get a conservative upper bound on MaxVF.
```

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


More information about the llvm-commits mailing list