[all-commits] [llvm/llvm-project] fb40c3: [VPlan] Consider all recipes in replicate blocks a...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Jan 21 09:14:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb40c34b8f8c57f5eb55b085660e111832f27aca
      https://github.com/llvm/llvm-project/commit/fb40c34b8f8c57f5eb55b085660e111832f27aca
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-01-21 (Sat, 21 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
    M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
    M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll

  Log Message:
  -----------
  [VPlan] Consider all recipes in replicate blocks as sink candidates.

Update sinkScalarOperands to consider all operands of recipes in
replicate blocks as sink candidates This enables additional sinking
opportunities and is another step towards retiring LLVM IR-based
sinkScalarOperands.

This enables iterative sinking of operands for successive calls of
sinkScalarOperands.

Depends on D139788.

Reviewed By: Ayal

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




More information about the All-commits mailing list