[all-commits] [llvm/llvm-project] 365ad5: [SLP][modularisation][NFC] Move loop trip-count he...

Madhur Amilkanthwar via All-commits all-commits at lists.llvm.org
Thu Sep 10 04:21:47 PDT 2026


  Branch: refs/heads/users/madhur13490/slp-loop-utils
  Home:   https://github.com/llvm/llvm-project
  Commit: 365ad50d78628d648608f752922fb65fd0f2901d
      https://github.com/llvm/llvm-project/commit/365ad50d78628d648608f752922fb65fd0f2901d
  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/SLPUtils.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.h

  Log Message:
  -----------
  [SLP][modularisation][NFC] Move loop trip-count helpers to SLPUtils

Move the BoUpSLP-independent helpers findInnermostNonInvariantLoop and
getLoopTripCount out of SLPVectorizer.cpp into the self-contained
SLPVectorizer/SLPUtils.{h,cpp} module. getLoopTripCount reads the file-local
LoopAwareTripCount cl::opt, which stays static in SLPVectorizer.cpp and is
passed to the moved helper as an explicit parameter. NFC.

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