[all-commits] [llvm/llvm-project] 60ae9c: [SLP]Do not consider non-profitable loads slices

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Jul 17 05:00:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60ae9c9c632dec978e71d1d3ab3c3d18eca16c77
      https://github.com/llvm/llvm-project/commit/60ae9c9c632dec978e71d1d3ab3c3d18eca16c77
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-07-17 (Thu, 17 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/matched-nodes-updated.ll

  Log Message:
  -----------
  [SLP]Do not consider non-profitable loads slices

If all slices are small and end up with strided or even vectorization
states, better to not consider these candidates for the vectorization
and try to vectorize the whole bunch as gathered loads.

Reviewers: hiraditya, RKSimon, HanKuanChen

Reviewed By: RKSimon, HanKuanChen

Pull Request: https://github.com/llvm/llvm-project/pull/149209



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