[all-commits] [llvm/llvm-project] 541e88: [VPlan] Simplify HCFG construction of region block...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Sep 24 13:54:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 541e88dbc24a72bdf9a80362c6113d246eb806dc
      https://github.com/llvm/llvm-project/commit/541e88dbc24a72bdf9a80362c6113d246eb806dc
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-09-24 (Sun, 24 Sep 2023)

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

  Log Message:
  -----------
  [VPlan] Simplify HCFG construction of region blocks (NFC).

Update the logic to update the successors and predecessors of region
blocks directly. This adds special handling for header and latch blocks
in place, and removes the separate loop to fix up the region blocks.

Helps to simplify D158333.

Reviewed By: Ayal

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




More information about the All-commits mailing list