[all-commits] [llvm/llvm-project] cc30fb: [SLP]Introduce isUndefVector function to check for...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Wed Dec 1 07:47:09 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc30fbf2425c5de5d941e79919884313fa46d871
      https://github.com/llvm/llvm-project/commit/cc30fbf2425c5de5d941e79919884313fa46d871
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-12-01 (Wed, 01 Dec 2021)

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

  Log Message:
  -----------
  [SLP]Introduce isUndefVector function to check for undef vectors.

Undefined vector might be not only the UndefValue, but also it can be
a constant vector with undef ot poison elements, need to check for this
kind of undef too.

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




More information about the All-commits mailing list