[all-commits] [llvm/llvm-project] 27d352: [SLP]Fix vectorization of insertelements with mult...

cilkplus via All-commits all-commits at lists.llvm.org
Wed May 26 09:43:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27d3528acf8aacc62a955dc13b0f08d4167b5b48
      https://github.com/llvm/llvm-project/commit/27d3528acf8aacc62a955dc13b0f08d4167b5b48
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-05-26 (Wed, 26 May 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/insert-element-multiple-uses.ll

  Log Message:
  -----------
  [SLP]Fix vectorization of insertelements with multiple uses.

SLP vectorizer should not consider in sertelements with multiple uses as
a part of high level build vector, it must be considered as
a terminating insertelement in the vector build, otherwise it may
produce incorrect code.

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




More information about the All-commits mailing list