[all-commits] [llvm/llvm-project] 23c953: [LV] Enable the LoopVectorizer to create pointer i...

aWelker via All-commits all-commits at lists.llvm.org
Fri Jul 17 05:35:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 23c9534515eeaec537044f4babcd0d84f9cc3716
      https://github.com/llvm/llvm-project/commit/23c9534515eeaec537044f4babcd0d84f9cc3716
  Author: Anna Welker <anna.welker at arm.com>
  Date:   2020-07-17 (Fri, 17 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/ARM/pointer_iv.ll
    A llvm/test/Transforms/LoopVectorize/pointer-induction.ll

  Log Message:
  -----------
  [LV] Enable the LoopVectorizer to create pointer inductions

This patch enables the LoopVectorizer to build a phi of pointer
type and provide the vector loads and stores with vector type
getelementptrs built from the pointer induction variable, which
produces much less instructions than the previous approach of
creating scalar getelementpointers and glue them together to a
vector.

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




More information about the All-commits mailing list