[all-commits] [llvm/llvm-project] ff9961: [SLP][modularisation][NFC] Move full-vector width ...

Madhur Amilkanthwar via All-commits all-commits at lists.llvm.org
Fri Aug 7 02:05:22 PDT 2026


  Branch: refs/heads/users/madhur13490/slp-type-utils2
  Home:   https://github.com/llvm/llvm-project
  Commit: ff99615fc3c6725cbd2f5c546bcf5319122d56a0
      https://github.com/llvm/llvm-project/commit/ff99615fc3c6725cbd2f5c546bcf5319122d56a0
  Author: Madhur Amilkanthwar <madhura at nvidia.com>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

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

  Log Message:
  -----------
  [SLP][modularisation][NFC] Move full-vector width helpers to SLPTypeUtils (2/2)

Move the following BoUpSLP-independent helpers out of SLPVectorizer.cpp
into SLPVectorizer/SLPTypeUtils.{h,cpp}:

  getFullVectorNumberOfElements
  getFloorFullVectorNumberOfElements
  getMaskedDivRemType
  hasFullVectorsOrPowerOf2

They build on the type helpers moved in (1/2). Behavior is unchanged.

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