[all-commits] [llvm/llvm-project] f1a643: [VPlan] Track both incoming values for first-order...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Jun 27 06:31:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1a64302725cc36e7796f327375b9e939e3a339e
      https://github.com/llvm/llvm-project/commit/f1a64302725cc36e7796f327375b9e939e3a339e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-06-27 (Sun, 27 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
    M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll

  Log Message:
  -----------
  [VPlan] Track both incoming values for first-order recurrence phis.

This patch updates VPWidenPHI recipes for first-order recurrences to
also track the incoming value from the back-edge. Similar to D99294,
which did the same for reductions.

Reviewed By: Ayal

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




More information about the All-commits mailing list