[all-commits] [llvm/llvm-project] 4bd3fd: [VPlan] Add VFRange::begin() and end() iterators. ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Apr 8 02:25:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bd3fda5124962e318f21b60e7e8f7c587dd31d6
      https://github.com/llvm/llvm-project/commit/4bd3fda5124962e318f21b60e7e8f7c587dd31d6
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-04-08 (Sat, 08 Apr 2023)

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

  Log Message:
  -----------
  [VPlan] Add VFRange::begin() and end() iterators. (NFCI)

Add an iterator to iterate over all VFs in VFRange. This simplifies some
existing code and allows using all_of,any_of and none_of on a VFRange.

Reviewed By: Ayal

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




More information about the All-commits mailing list