[all-commits] [llvm/llvm-project] 078c86: [LV] Replace stored value with a VPValue (NFCI)

Gil Rapaport via All-commits all-commits at lists.llvm.org
Wed Mar 25 10:37:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 078c8633055bfdb890cbbd77cde6e507eea8301b
      https://github.com/llvm/llvm-project/commit/078c8633055bfdb890cbbd77cde6e507eea8301b
  Author: Gil Rapaport <gil.rapaport at intel.com>
  Date:   2020-03-25 (Wed, 25 Mar 2020)

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

  Log Message:
  -----------
  [LV] Replace stored value with a VPValue (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 a VPValue for VPWidenMemoryInstructionRecipe to use as
the stored value. The recipe is generated with a VPValue wrapping the stored
value of the scalar store. This reduces ingredient def-use usage by ILV as a
step towards full VPlan-based def-use relations.

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




More information about the All-commits mailing list