[all-commits] [llvm/llvm-project] d9f831: [VPlan] Ensure start value of phis is the first op...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Sep 22 13:24:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9f83169d141c2deb29612e7831f25b1e0f8c006
      https://github.com/llvm/llvm-project/commit/d9f83169d141c2deb29612e7831f25b1e0f8c006
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-09-22 (Fri, 22 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

  Log Message:
  -----------
  [VPlan] Ensure start value of phis is the first op at construction (NFC)

Header phi recipes have the start value (incoming from outside the loop)
as first operand. This wasn't the case for VPWidenPHIRecipes. Instead
the start value was picked during execute() by doing extra work.

To be in line with other recipes, ensure the operand order is as
expected during construction.




More information about the All-commits mailing list