[all-commits] [llvm/llvm-project] 4c997e: [SLP]Fix PR70507: emit freeeze whenever required f...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Oct 31 12:26:02 PDT 2023


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

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

  Log Message:
  -----------
  [SLP]Fix PR70507: emit freeeze whenever required for bool logical ops in
the middle of reduction ops.

Need to emit freeze instruction not only in the case, where the root is
bool logical op, but also if we reduce several scalars, but unable to
say precisely, if the root is bool logical op.




More information about the All-commits mailing list