[all-commits] [llvm/llvm-project] 191741: [SLP] Simplify buildTree() legality checks (NFC) (...

Gaëtan Bossu via All-commits all-commits at lists.llvm.org
Thu May 8 00:35:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19174126cfe9f7e392104bd0bc56ca8ffb674115
      https://github.com/llvm/llvm-project/commit/19174126cfe9f7e392104bd0bc56ca8ffb674115
  Author: Gaëtan Bossu <gaetan.bossu at arm.com>
  Date:   2025-05-08 (Thu, 08 May 2025)

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

  Log Message:
  -----------
  [SLP] Simplify buildTree() legality checks (NFC) (#138833)

This NFC aims to simplify the interfaces used in `buildTree()` to make
it easier to understand where decisions for legality are made.

In particular, there is now a single point of definition for legality
decisions. This makes it clear where all those decisions are made.
Previously, multiple variables with a large scope were passed by
reference.



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