[all-commits] [llvm/llvm-project] 3bb6dc: [LV] Replace some uses of VectorLoopValueMap with ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Feb 7 10:30:50 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bb6dc0b268baa05742ada7f932937934808bed5
      https://github.com/llvm/llvm-project/commit/3bb6dc0b268baa05742ada7f932937934808bed5
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-02-07 (Sun, 07 Feb 2021)

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

  Log Message:
  -----------
  [LV] Replace some uses of VectorLoopValueMap with VPTransformState (NFC)

This patch updates some places where VectorLoopValueMap is accessed
directly to instead go through VPTransformState.

As we move towards managing created values exclusively in VPTransformState,
this ensures the use always can fetch the correct value.

This is in preparation for D92285, which switches to managing scalarized
values through VPValues.

In the future, the various fix* functions should be moved directly into
the VPlan codegen stage.

Reviewed By: gilr

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




More information about the All-commits mailing list