[all-commits] [llvm/llvm-project] b2cd89: [SLP] Fix "gathering" of insertelement instructions

Anton Afanasyev via All-commits all-commits at lists.llvm.org
Mon May 24 15:36:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2cd89501164ebadcddfd92304fe7b5675e59748
      https://github.com/llvm/llvm-project/commit/b2cd89501164ebadcddfd92304fe7b5675e59748
  Author: Anton Afanasyev <anton.a.afanasyev at gmail.com>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/insert-element-build-vector-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/insert-element-build-vector.ll

  Log Message:
  -----------
  [SLP] Fix "gathering" of insertelement instructions

For rare exceptional case vector tree node (insertelements for now only)
is marked as `NeedToGather`, this case is processed by patch. Follow-up
of D98714 to fix bug reported here https://reviews.llvm.org/D98714#2764135.

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




More information about the All-commits mailing list