[all-commits] [llvm/llvm-project] 154138: [SLP]Do not pack div-like copyable values

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Oct 20 05:20:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 154138c25f358ed812eafc2880225c3d88221e8a
      https://github.com/llvm/llvm-project/commit/154138c25f358ed812eafc2880225c3d88221e8a
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-10-20 (Mon, 20 Oct 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/AArch64/div-like-mixed-with-undefs.ll

  Log Message:
  -----------
  [SLP]Do not pack div-like copyable values

If a main instruction in the copyables is a div-like instruction, the
compiler cannot pack duplicates, extending with poisons, these
instructions, being vectorize, will result in undefined behavior.

Fixes #164185



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