[all-commits] [llvm/llvm-project] 9db6e9: [LoopVectorize] NFC: Change computeFeasibleMaxVF t...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Wed Feb 10 01:11:13 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9db6e97a8605f6a447ed171e59d5fa46fdfdc432
      https://github.com/llvm/llvm-project/commit/9db6e97a8605f6a447ed171e59d5fa46fdfdc432
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [LoopVectorize] NFC: Change computeFeasibleMaxVF to operate on ElementCount.

This patch is NFC and changes occurrences of `unsigned MaxVectorSize`
to work on type ElementCount.

This patch is a preparatory patch with the ultimate goal of making
`computeMaxVF()` return both a max fixed VF and a max scalable VF,
so that `selectVectorizationFactor()` can pick the most cost-effective
vectorization factor.

Reviewed By: kmclaughlin

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




More information about the All-commits mailing list