[all-commits] [llvm/llvm-project] 357bba: [VPlan] Add VPRecipeBase::toVPUser helper (NFC).

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Oct 4 11:44:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 357bbaab666b212c5bfb65df80e76aace5367eff
      https://github.com/llvm/llvm-project/commit/357bbaab666b212c5bfb65df80e76aace5367eff
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-10-04 (Sun, 04 Oct 2020)

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

  Log Message:
  -----------
  [VPlan] Add VPRecipeBase::toVPUser helper (NFC).

This adds a helper to convert a VPRecipeBase pointer to a VPUser, for
recipes that inherit from VPUser. Once VPRecipeBase directly inherits
from VPUser this helper can be removed.




More information about the All-commits mailing list