[all-commits] [llvm/llvm-project] aa2414: [VPlan] Also consider operands of sink candidates ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Dec 30 10:25:09 PST 2022

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

  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] Also consider operands of sink candidates in same block.

Even if the the sink candidate is already in the target block, its
operands can be candidates for sinking. Queue them up as well. Also
moves the queuing logic to a helper.

More information about the All-commits mailing list