[llvm] [VPlan] Add initial CFG simplification, removing BranchOnCond true. (PR #106748)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 23 04:01:34 PDT 2025
================
@@ -1467,6 +1467,49 @@ void VPlanTransforms::truncateToMinimalBitwidths(
"some entries in MinBWs haven't been processed");
}
+/// Remove BranchOnCond recipes with true conditions together with removing
+/// dead edges to their successors.
+static void simplifyCFG(VPlan &Plan) {
----------------
ayalz wrote:
Perhaps a more modest name would be more accurate, at this stage?
https://github.com/llvm/llvm-project/pull/106748
More information about the llvm-commits
mailing list