[all-commits] [llvm/llvm-project] 45c467: [LAA] Pass access type to getPtrStride()

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Sep 11 10:17:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45c467346a79ec3df083a29d93184ce1f09c4083
      https://github.com/llvm/llvm-project/commit/45c467346a79ec3df083a29d93184ce1f09c4083
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-09-11 (Sat, 11 Sep 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
    M llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Analysis/VectorUtils.cpp
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
    M llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [LAA] Pass access type to getPtrStride()

Pass the access type to getPtrStride(), so it is not determined
from the pointer element type. Many cases still fetch the element
type at a higher level though, so this only partially addresses
the issue.




More information about the All-commits mailing list