[all-commits] [llvm/llvm-project] bc19b7: [LV] Remove collectTriviallyDeadInstructions, alre...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jul 7 08:40:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc19b7c3cc169151ef30883c9b313114d7d5a9db
      https://github.com/llvm/llvm-project/commit/bc19b7c3cc169151ef30883c9b313114d7d5a9db
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-07-07 (Thu, 07 Jul 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/X86/consecutive-ptr-uniforms.ll
    M llvm/test/Transforms/LoopVectorize/pointer-induction.ll

  Log Message:
  -----------
  [LV] Remove collectTriviallyDeadInstructions, already handled by VP DCE.

Now that removeDeadRecipes can remove most dead recipes across a whole
VPlan, there is no need to first collect some dead instructions.
Instead removeDeadRecipes can simply clean them up.

Depends D127580.

Reviewed By: Ayal

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




More information about the All-commits mailing list