[llvm] [VPlan] Add initial CFG simplification, removing BranchOnCond true. (PR #106748)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 3 04:55:35 PDT 2025


================
@@ -1682,6 +1682,52 @@ 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 simplifyBranchOnCondTrue(VPlan &Plan) {
----------------
fhahn wrote:

Updated, thanks!

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


More information about the llvm-commits mailing list