[all-commits] [llvm/llvm-project] 949c13: [LV] Remove widenPHIInstruction dependence on unde...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jun 16 07:03:34 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 949c13649cc76af6efa19c76afa63f3dbc6558e9
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-06-16 (Thu, 16 Jun 2022)

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

  Log Message:
  [LV] Remove widenPHIInstruction dependence on underlying instr (NFC).

Instead of using the underlying instruction and VF to get the type, use
the type of the incoming value. This removes an unnecessary dependence
on the underlying instruction and enables using the recipe without an
underlying instruction.

More information about the All-commits mailing list