[Mlir-commits] [mlir] [mlir][Transforms][NFC] Improve debug output of `-remove-dead-values` (PR #173468)

Matthias Springer llvmlistbot at llvm.org
Wed Dec 24 01:12:06 PST 2025


================
@@ -433,6 +433,19 @@ static void processRegionBranchOp(RegionBranchOpInterface regionBranchOp,
                                   RDVFinalCleanupList &cl) {
   LDBG() << "Processing region branch op: "
          << OpWithFlags(regionBranchOp, OpPrintingFlags().skipRegions());
+
+  // Scenario 1. This is the only case where the entire `regionBranchOp`
----------------
matthias-springer wrote:

I just moved this further up, so that the early exit is closer to the beginning.

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


More information about the Mlir-commits mailing list