[Mlir-commits] [mlir] [MLIR] Removing dead values for branches (PR #117501)

Longsheng Mou llvmlistbot at llvm.org
Tue Dec 3 22:30:48 PST 2024


================
@@ -563,6 +563,52 @@ static void cleanRegionBranchOp(RegionBranchOpInterface regionBranchOp,
   dropUsesAndEraseResults(regionBranchOp.getOperation(), resultsToKeep.flip());
 }
 
+// 1. Iterate over each successor block of the given BranchOpInterface
+// operation.
----------------
CoTinker wrote:

It's better to organize the format.
```
1. Iterate over each successor block of the given BranchOpInterface
   operation.
```

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


More information about the Mlir-commits mailing list