[all-commits] [llvm/llvm-project] dda2a5: [SLP][NFC] Rename a couple of variables and replac...

vptest1 via All-commits all-commits at lists.llvm.org
Wed May 10 09:38:33 PDT 2023


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

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

  Log Message:
  -----------
  [SLP][NFC] Rename a couple of variables and replace an if-else with an std::min

- Rename `LimitForRegisterSize` to `MaxVFOnly` to make the meaning of the limit less ambiguous
- Rename `OpsWidth` to `ActualVF`, which makes it clear that this is the VF we are using for vectorization.
- Replace the if-else code for the initialization of OpsWidth with an std::min.

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




More information about the All-commits mailing list