[all-commits] [llvm/llvm-project] 3bf5c2: [SLP]Do not try to generate ScatterVectorize if it...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Wed May 25 14:26:03 PDT 2022


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/pr47623.ll
    M llvm/test/Transforms/SLPVectorizer/X86/pr47629-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/pr47629.ll

  Log Message:
  -----------
  [SLP]Do not try to generate ScatterVectorize if it will be scalarized.

SLP should build ScatterVectorize nodes only if they actually end up
with masked gather rather than with scalarization. In the second
scenario better to build a gather node.

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




More information about the All-commits mailing list