[all-commits] [llvm/llvm-project] 9da19e: [SLP]Fix PR70507: correctly handle bool logical op...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Oct 30 14:09:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9da19e4340f21455b52d5768439cfbaca4112fe4
      https://github.com/llvm/llvm-project/commit/9da19e4340f21455b52d5768439cfbaca4112fe4
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-10-30 (Mon, 30 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/reduction-bool-logic-op-inside.ll

  Log Message:
  -----------
  [SLP]Fix PR70507: correctly handle bool logical ops in reductions.

If the very first reduction operation is not bool logical op, but some
others are, still need to emit the boo logic op for all the extra
reduction operations to avoid incorrect poison propagation.




More information about the All-commits mailing list