[all-commits] [llvm/llvm-project] 160e72: [VPlan] Use recursive traversal iterator in VPSlot...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Apr 27 04:39:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 160e729cf0011da9eacea60cb325a2b506dc7b39
      https://github.com/llvm/llvm-project/commit/160e729cf0011da9eacea60cb325a2b506dc7b39
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlanValue.h

  Log Message:
  -----------
  [VPlan] Use recursive traversal iterator in VPSlotTracker.

This patch simplifies VPSlotTracker by using the recursive traversal
iterator to traverse all blocks in a VPlan in reverse post-order when
numbering VPValues in a plan.

This depends on a fix to RPOT (D100169). It also extends the traversal
unit tests to check RPOT.

Reviewed By: a.elovikov

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




More information about the All-commits mailing list