[all-commits] [llvm/llvm-project] d70963: [SLP]Fix the cost of the adjusted extracts in per-...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Jun 28 14:33:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d70963a762850e74b79e178e006dc7861c2c94e5
      https://github.com/llvm/llvm-project/commit/d70963a762850e74b79e178e006dc7861c2c94e5
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll

  Log Message:
  -----------
  [SLP]Fix the cost of the adjusted extracts in per-register analysis.

Previous patch did not pass the list of the extract indices by
reference, so the compiler just ignored them. Pass indices by reference
and fix the per-register analysis.

Reviewers: RKSimon

Reviewed By: RKSimon

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



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