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

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 06:26:21 PDT 2024


================
@@ -0,0 +1,80 @@
+; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --version 5
+; RUN: opt --disable-output -mtriple=x86_64 --passes="print<access-info>" %s 2>&1 | FileCheck %s
----------------
mrdaybird wrote:

Yes, otherwise LAA returns unknown dependency. I suppose it is because of the `MaxVFInBits < MaxTargetVectorWidthInBits` check at the end of `isDependent`, which is false because MaxTargetVectorWidthInBits has not updated with target info and remains unsigned max. 

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


More information about the llvm-commits mailing list