[all-commits] [llvm/llvm-project] beccec: [SLP]Fix PR98838: do no replace condition of selec...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Jul 15 07:28:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: beccecaacde405a3b50891c67594eccbcd1c8b08
      https://github.com/llvm/llvm-project/commit/beccecaacde405a3b50891c67594eccbcd1c8b08
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-15 (Mon, 15 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/select-reduction-op.ll

  Log Message:
  -----------
  [SLP]Fix PR98838: do no replace condition of select-based logical op by poison.

If the reduction operation is a select-based logical op, the condition
should be replaced by the poison, better to replace by the non-poisoning
constant to prevent poison propagation in the vector code.

Fixes https://github.com/llvm/llvm-project/issues/98838



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list