[all-commits] [llvm/llvm-project] 889215: [SLP]Followup fix for the poisonous logical op in ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Dec 26 05:23:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 889215a30ed60474e573f9632d1fa362dfa1b04e
      https://github.com/llvm/llvm-project/commit/889215a30ed60474e573f9632d1fa362dfa1b04e
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-12-26 (Thu, 26 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll
    M llvm/test/Transforms/SLPVectorizer/logical-ops-poisonous-repeated.ll

  Log Message:
  -----------
  [SLP]Followup fix for the poisonous logical op in reductions

If the VectorizedTree still may generate poisonous value, but it is not
the original operand of the reduction op, need to check if Res still the
operand, to generate correct code.

Fixes #114905



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