[all-commits] [llvm/llvm-project] 1e1c8d: [SLP]Add external uses cost for the gathered loads.

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Jul 26 08:10:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e1c8d16153a8b3f53b6a8797a77112ecc289551
      https://github.com/llvm/llvm-project/commit/1e1c8d16153a8b3f53b6a8797a77112ecc289551
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/reduced-gathered-vectorized.ll
    M llvm/test/Transforms/SLPVectorizer/X86/vec_list_bias_external_insert_shuffled.ll

  Log Message:
  -----------
  [SLP]Add external uses cost for the gathered loads.

If the load is a part of the gather node and also a part of the
vectorized subvector, need to add the estimation for the non-vectorized
external uses.

Reviewers: RKSimon

Reviewed By: RKSimon

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



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