[all-commits] [llvm/llvm-project] e2a186: [LV] Add VPValue operands to VPBlendRecipe (NFCI)

Gil Rapaport via All-commits all-commits at lists.llvm.org
Thu Apr 9 08:58:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e2a186788051ac3fb22f8d99bec4b68ee3d7b81b
      https://github.com/llvm/llvm-project/commit/e2a186788051ac3fb22f8d99bec4b68ee3d7b81b
  Author: Gil Rapaport <gil.rapaport at intel.com>
  Date:   2020-04-09 (Thu, 09 Apr 2020)

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

  Log Message:
  -----------
  [LV] Add VPValue operands to VPBlendRecipe (NFCI)

InnerLoopVectorizer's code called during VPlan execution still relies on
original IR's def-use relations to decide which vector code to generate,
limiting VPlan transformations ability to modify def-use relations and still
have ILV generate the vector code.
This commit introduces VPValues for VPBlendRecipe to use as the values to
blend. The recipe is generated with VPValues wrapping the phi's incoming values
of the scalar phi. This reduces ingredient def-use usage by ILV as a step
towards full VPlan-based def-use relations.

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




More information about the All-commits mailing list