[all-commits] [llvm/llvm-project] cc943a: [SLP]Fix PR106626: trye several attempts for looku...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Aug 29 15:11:58 PDT 2024


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/AArch64/reused-scalar-repeated-in-node.ll

  Log Message:
  -----------
  [SLP]Fix PR106626: trye several attempts for lookup values, if not found.

If the value is used in Scalar several times, the first attempt to find
its position in the node (if ReuseShuffleIndices and ReorderIndices not
empty) may fail. In this case need to find another copy of the same
value and try again.
Fixes https://github.com/llvm/llvm-project/issues/106626



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