[all-commits] [llvm/llvm-project] 371bb2: [VPlan] Move createReplicateRegion out of VPRecipe...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Mar 18 13:31:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 371bb2c9d34aa9b9809de6fcac5d60671f7cafed
      https://github.com/llvm/llvm-project/commit/371bb2c9d34aa9b9809de6fcac5d60671f7cafed
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-03-18 (Sat, 18 Mar 2023)

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

  Log Message:
  -----------
  [VPlan] Move createReplicateRegion out of VPRecipeBuilder.h. (NFC)

The function doesn't use anything from VPRecipeBuilder, so move the
definition to where it is actually used and turn it into a simple static
function.

It also makes the VPRecipeBuilder argument for createAndOptimizeReplicateRegions
unnecessary.




More information about the All-commits mailing list