[all-commits] [llvm/llvm-project] 806dea: [SLP] Cleanup: Remove `tryToVectorizePair()`, most...

vptest1 via All-commits all-commits at lists.llvm.org
Fri May 19 20:26:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 806dea46be4c49dc587b98dab5e4d9d242a6abdb
      https://github.com/llvm/llvm-project/commit/806dea46be4c49dc587b98dab5e4d9d242a6abdb
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2023-05-19 (Fri, 19 May 2023)

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

  Log Message:
  -----------
  [SLP] Cleanup: Remove `tryToVectorizePair()`, most probably NFC

`tryToVectorizePair()` adds a level of indirection over `tryToVectorizeList()`.
I am not really sure why it is needed, it looks redundant.

I replaced all calls to `tryToVectorizePair()` with calls to
`tryToVectorizeList()` and I am not seeing any failures.

Differential Revision: https://reviews.llvm.org/D151004




More information about the All-commits mailing list