[all-commits] [llvm/llvm-project] cb5046: [SLP]Do not ignore undefs when trying to replace w...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Oct 24 07:51:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb5046da26399c0ab545c3ed764e0e68e997ff89
      https://github.com/llvm/llvm-project/commit/cb5046da26399c0ab545c3ed764e0e68e997ff89
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-10-24 (Thu, 24 Oct 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/RISCV/revec-getGatherCost.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/revec.ll
    M llvm/test/Transforms/SLPVectorizer/X86/matched-shuffled-entries.ll
    M llvm/test/Transforms/SLPVectorizer/X86/remark_extract_broadcast.ll
    M llvm/test/Transforms/SLPVectorizer/insertelement-across-zero.ll
    M llvm/test/Transforms/SLPVectorizer/revec.ll
    M llvm/test/Transforms/SLPVectorizer/splat-buildvector.ll

  Log Message:
  -----------
  [SLP]Do not ignore undefs when trying to replace with "poisonous" shuffles

Need to consider undefs correctly, when trying to replace them with
potentially poisonous values in shuffles. Such elements should not be
silently replaced by poison values, instead complex analysis should be
implemented to see if it is safe to do it.

Fixes #113425



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