[all-commits] [llvm/llvm-project] e927d2: [SLP][modularisation][NFC] Move BoUpSLP class decl...

Madhur Amilkanthwar via All-commits all-commits at lists.llvm.org
Thu Sep 10 01:17:51 PDT 2026


  Branch: refs/heads/users/madhur13490/slp-tree-header
  Home:   https://github.com/llvm/llvm-project
  Commit: e927d29836c87df11eee9b9b72b4ead6138c8a4c
      https://github.com/llvm/llvm-project/commit/e927d29836c87df11eee9b9b72b4ead6138c8a4c
  Author: Madhur Amilkanthwar <madhura at nvidia.com>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

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

  Log Message:
  -----------
  [SLP][modularisation][NFC] Move BoUpSLP class declaration to SLPTree.h

Move the BoUpSLP class declaration and its nested types out of
SLPVectorizer.cpp into SLPVectorizer/SLPTree.h. This is a pure relocation:
method definitions stay in SLPVectorizer.cpp, and the prerequisite changes
(de-inlining the cl::opt users; seeding SLPTree.h with ReductionVectorPart
and MinScheduleRegionSize) landed earlier in the stack.

The header is included after DEBUG_TYPE is defined because BoUpSLP inline
methods use LLVM_DEBUG. The DenseMapInfo/GraphTraits specializations remain
in SLPVectorizer.cpp.

Part of the SLPVectorizer.cpp modularization effort:
https://discourse.llvm.org/t/modularizing-slpvectorizer-cpp/90922



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