[all-commits] [llvm/llvm-project] 3e58dd: [LV] Move reduction PHI node fixup to VPlan::execu...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Aug 6 00:30:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e58dd19dfa3c2537c3168a4885a5d757b3f1a6a
      https://github.com/llvm/llvm-project/commit/3e58dd19dfa3c2537c3168a4885a5d757b3f1a6a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-08-06 (Fri, 06 Aug 2021)

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

  Log Message:
  -----------
  [LV] Move reduction PHI node fixup to VPlan::execute (NFC).

All information to fix-up the reduction phi nodes in the vectorized loop
is available in VPlan now. This patch moves the code to do so, to make
this clearer. Fixing up the loop exit value still relies on other
information and remains outside of VPlan for now.

Reviewed By: Ayal

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




More information about the All-commits mailing list