[all-commits] [llvm/llvm-project] 466217: [SLP]Fix graph traversal in getSpillCost

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Jan 31 03:28:08 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 466217eb0334d467ec8e9b96c52ee988aaadc389
      https://github.com/llvm/llvm-project/commit/466217eb0334d467ec8e9b96c52ee988aaadc389
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-01-31 (Fri, 31 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/loadorder.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll

  Log Message:
  -----------
  [SLP]Fix graph traversal in getSpillCost

getSpill cost relies on def-use order when performs the analysis for the
vectorized instructions live-over-calls spills.
Patch fixes it to check the dependencies based on TreeEntries and
performs actual vectorized type analysis.

Reviewers: RKSimon, preames

Reviewed By: preames

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



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