[all-commits] [llvm/llvm-project] fb831c: [SLP][modularisation][NFC] Move getSameOpcode clus...

Madhur Amilkanthwar via All-commits all-commits at lists.llvm.org
Wed Aug 5 09:02:51 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb831c73635aab090cbd0b8e9671a289b691b0cf
      https://github.com/llvm/llvm-project/commit/fb831c73635aab090cbd0b8e9671a289b691b0cf
  Author: Madhur Amilkanthwar <madhura at nvidia.com>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

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

  Log Message:
  -----------
  [SLP][modularisation][NFC] Move getSameOpcode cluster to SLPCompatibilityAnalysis (3/3) (#213609)

Move the following out of SLPVectorizer.cpp into
SLPCompatibilityAnalysis.{h,cpp}:

  * getSameOpcode
  * convertTo
  * isAlternateInstruction
  * findInstructionWithOpcode
  * areCompatibleCmpOps
  * isCmpSameOrSwapped

Part of the SLPVectorizer.cpp modularization RFC:
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