[all-commits] [llvm/llvm-project] 2e6430: [LV] Update recipe builder functions to pass VPlan...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Feb 12 14:35:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e6430666caf303b84dd281442533d2f3b6ad1b2
      https://github.com/llvm/llvm-project/commit/2e6430666caf303b84dd281442533d2f3b6ad1b2
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-02-12 (Sun, 12 Feb 2023)

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

  Log Message:
  -----------
  [LV] Update recipe builder functions to pass VPlan directly (NFC).

Passing VPlanPtr requires a dereference of std::unique_ptr on each
access, which is unnecessary. Just pass the plan by reference.




More information about the All-commits mailing list