[all-commits] [llvm/llvm-project] 036207: [SLP]Improve splat detection.

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Mon Nov 15 07:51:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 036207d5f261b6d60913cfa705b5432630126f40
      https://github.com/llvm/llvm-project/commit/036207d5f261b6d60913cfa705b5432630126f40
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-11-15 (Mon, 15 Nov 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/pr35497.ll

  Log Message:
  -----------
  [SLP]Improve splat detection.

A bunch of scalars can be treated as a splat not only if all elements
are the same but also if some of them are undefvalues.

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




More information about the All-commits mailing list