[all-commits] [llvm/llvm-project] af6354: [SLP]Look for vector user when estimating the cost

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Sep 27 04:14:56 PDT 2024


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/minbw-multiused-from-gather.ll

  Log Message:
  -----------
  [SLP]Look for vector user when estimating the cost

Need to find the first vector node user, not the very first user node at
all. The very first user might be a gather, vectorized as clustered,
which may cause compiler crash.

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



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