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

aWelker via All-commits all-commits at lists.llvm.org
Thu Jul 2 03:39:49 PDT 2020


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/ARM/pointer_iv.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