[all-commits] [llvm/llvm-project] e89847: [VPlan] Sink non-uniform recieps for scalar plans.

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Dec 14 09:55:48 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e898479f2b3d95ccda9e143865eedd615c667e22
      https://github.com/llvm/llvm-project/commit/e898479f2b3d95ccda9e143865eedd615c667e22
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
    M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge-vf1.ll

  Log Message:
  -----------
  [VPlan] Sink non-uniform recieps for scalar plans.

In scalar plans, replicate recipes will only generate a single value per
UF, independent of whether they are uniform or not. So don't consider
uniformity for plans with scalar VFs only.

This allows us to handle a few additional cases in VPlan sinking instead
of non-VPlan sinkScalarOperands.

Depends on D133762.

Reviewed By: Ayal

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




More information about the All-commits mailing list