Skip to content

Commit ab30c36

Browse files
committed
Addressing review feedback
1 parent d60829f commit ab30c36

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mlir/lib/Transforms/RemoveDeadValues.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,9 +636,8 @@ static void processRegionBranchOp(RegionBranchOpInterface regionBranchOp,
636636
/// Steps to process a `BranchOpInterface` operation:
637637
/// Iterate through each successor block of the operation.
638638
/// (1) For each successor block, gather all operands from all successors.
639-
/// along with their associated liveness analysis data.
640-
/// (2) Fetch their associated liveness analysis data.
641-
/// (3) Identify and collect the dead operands from the branch operation
639+
/// (2) Fetch their associated liveness analysis data and collect for future removal.
640+
/// (3) Identify and collect the dead operands from the successor block
642641
/// as well as their corresponding arguments.
643642

644643
static void processBranchOp(BranchOpInterface branchOp, RunLivenessAnalysis &la,

0 commit comments

Comments
 (0)