[all-commits] [llvm/llvm-project] 4a0bbb: [SLP]Fix PR104637: do not create new nodes for ful...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Aug 16 13:50:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a0bbbcbcf6ebc87e794e7b86b9f4651bffcd806
      https://github.com/llvm/llvm-project/commit/4a0bbbcbcf6ebc87e794e7b86b9f4651bffcd806
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-08-16 (Fri, 16 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/full-non-schedulable-overlap.ll

  Log Message:
  -----------
  [SLP]Fix PR104637: do not create new nodes for fully overlapped non-schedulable nodes

If the scalars do not require scheduling and were already vectorized,
but in the different order, compiler still tries to create the new node.
It may cause the compiler crash for the gathered operands. Instead need
to consider such nodes as full overlap and just reshuffle vectorized
node.

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



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