[all-commits] [llvm/llvm-project] 151c14: [LV] Use usesScalars in widenPHIInstruction.

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Mar 17 06:16:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 151c14435037072af795f2bec7626e3951d30965
      https://github.com/llvm/llvm-project/commit/151c14435037072af795f2bec7626e3951d30965
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-gep.ll

  Log Message:
  -----------
  [LV] Use usesScalars in widenPHIInstruction.

This uses the existing VPlan helpers to check whether there are scalar
uses of a phi recipe. It remove one of the few remaining dependencies on
the cost model from VPlan code generation.

Depends on D121612.

Reviewed By: Ayal

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




More information about the All-commits mailing list