[all-commits] [llvm/llvm-project] c1fe52: [VPlan] Remove dead recipes before sinking.

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Oct 12 04:50:05 PDT 2022

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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/pointer-induction.ll
    M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll

  Log Message:
  [VPlan] Remove dead recipes before sinking.

optimizeInductions may leave dead recipes which can prevent sinking.
Sinking on the other hand should not introduce new dead recipes, so
clean up dead recipes before sinking.

Reviewed By: Ayal

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

More information about the All-commits mailing list