[all-commits] [llvm/llvm-project] 4a1a69: [SLP][NFC]Unify ScalarToTreeEntries and MultiNodeS...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Jan 29 06:06:16 PST 2025


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP][NFC]Unify ScalarToTreeEntries and MultiNodeScalars, NFC

Currently, SLP has 2 distinct storages to manage mapping between
vectorized instructions and their corresponding vectorized TreeEntry
nodes. It leads to inefficient lookup for the matching TreeEntries and
makes it harder to correctly track instructions, associated with
multiple nodes.
There is a plan to extend this support for instructions, that require
scheduling, to allow support for copyable elements. Merging
ScalarToTreeEntry and MultiNodeScalars will allow reduce maintenance of
the feature

Reviewers: RKSimon

Reviewed By: RKSimon

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



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