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

cilkplus via All-commits all-commits at lists.llvm.org
Tue Mar 23 14:26:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99203f2004d031f2ef22f01e3c569d2775de1836
      https://github.com/llvm/llvm-project/commit/99203f2004d031f2ef22f01e3c569d2775de1836
  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