[all-commits] [llvm/llvm-project] 9139d4: [SLP]Fix crash on reordering of ScatterVectorize n...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Thu May 26 06:30:35 PDT 2022


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/scatter-vectorize-reorder.ll

  Log Message:
  -----------
  [SLP]Fix crash on reordering of ScatterVectorize nodes.

ScatterVectorize nodes should be handled same way as gathers in
reorderBottomToTop function, since we can simple reorder the loads in
this node. Because of that need to include such nodes to the list of
gathered nodes to fix compiler crash.

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




More information about the All-commits mailing list