[llvm] [VPlan] Explicitly unroll replicate-regions without live-outs by VF. (PR #170212)

via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 22 10:14:52 PDT 2026


================
@@ -572,9 +572,7 @@ static void addReplicateRegions(VPlan &Plan) {
   }
 }
 
-/// Remove redundant VPBasicBlocks by merging them into their predecessor if
-/// the predecessor has a single successor.
-static bool mergeBlocksIntoPredecessors(VPlan &Plan) {
+bool VPlanTransforms::mergeBlocksIntoPredecessors(VPlan &Plan) {
----------------
ayalz wrote:

Turned from static to a method of VPlanTransforms, could be done indepdently?

https://github.com/llvm/llvm-project/pull/170212


More information about the llvm-commits mailing list