[all-commits] [llvm/llvm-project] 5d7cf5: [SLP]Fix PR108421: Correctly deduce VF from the masks

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Sep 12 13:46:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d7cf504ce02f387660ceaedf890c35cfd0ad55f
      https://github.com/llvm/llvm-project/commit/5d7cf504ce02f387660ceaedf890c35cfd0ad55f
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-09-12 (Thu, 12 Sep 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/multi-extracts-bv-combined.ll

  Log Message:
  -----------
  [SLP]Fix PR108421: Correctly deduce VF from the masks

Need to select the max of CommonMask and V1 Mask size to correctly
perform reshuffling of the vectors, otherwise incorrect result is
generated.

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



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