[all-commits] [llvm/llvm-project] 897188: [VPlan] Adjust mergeReplicateRegions to be in line...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Jan 1 11:49:26 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89718815c6694445fa401929702f3bc28f597141
      https://github.com/llvm/llvm-project/commit/89718815c6694445fa401929702f3bc28f597141
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-01-01 (Sun, 01 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.h

  Log Message:
  -----------
  [VPlan] Adjust mergeReplicateRegions to be in line with mergeBlock (NFC)

Adjust mergeReplicateRegions to be in line with
mergeBlocksIntoPredecessors added in 36d70a6aea6b by collecting only the
valid candidates first.

Also rename to mergeReplicateRegionsIntoSuccessors and add missing
doc-comment.

This addresses post-commit suggestions by @Ayal.




More information about the All-commits mailing list