[all-commits] [llvm/llvm-project] f6d110: [LAA] Make getPtrStride return Option instead of o...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Sep 27 15:57:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6d110e26f1bdd3b4462f7fda620e07c425ccf76
      https://github.com/llvm/llvm-project/commit/f6d110e26f1bdd3b4462f7fda620e07c425ccf76
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-09-27 (Tue, 27 Sep 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/LoopAccessAnalysis.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

  Log Message:
  -----------
  [LAA] Make getPtrStride return Option instead of overloading zero as error value [nfc]

This is purely NFC restructure in advance of a change which actually exposes zero strides.  This is mostly because I find this interface confusing each time I look at it.




More information about the All-commits mailing list