[all-commits] [llvm/llvm-project] 066b88: [SLP]Correctly set vector operand for extracts wit...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Jan 13 10:57:36 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 066b88879ab5c195e7e14609e546cc238c2f3bf3
      https://github.com/llvm/llvm-project/commit/066b88879ab5c195e7e14609e546cc238c2f3bf3
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-01-13 (Mon, 13 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/extractelemets-extended-by-poison.ll

  Log Message:
  -----------
  [SLP]Correctly set vector operand for extracts with poisons

When extracts are vectorized and it has some poison values instead of
instructions, need to correctly set the vectorized operand not as
poison, but as a main vector operand of the main extract instruction.

Fixes #122583



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