[all-commits] [llvm/llvm-project] 065a14: [Analysis]Add getPointersDiff function to improve ...

cilkplus via All-commits all-commits at lists.llvm.org
Tue Mar 23 13:00:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 065a14a12d2694f26f4e894641f5ab8cfc5da8bd
      https://github.com/llvm/llvm-project/commit/065a14a12d2694f26f4e894641f5ab8cfc5da8bd
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/pr35497.ll

  Log Message:
  -----------
  [Analysis]Add getPointersDiff function to improve compile time.

Added getPointersDiff function to LoopAccessAnalysis and used it instead
direct calculatoin of the distance between pointers and/or
isConsecutiveAccess function in SLP vectorizer to improve compile time
and detection of stores consecutive chains.

Part of D57059

Differential Revision: https://reviews.llvm.org/D98967




More information about the All-commits mailing list