Skip to content

Commit ab31647

Browse files
committed
Mark all yield values as live
1 parent 1a5666e commit ab31647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Analysis/DataFlow/LivenessAnalysis.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ ChangeResult Liveness::meet(const AbstractSparseLattice &other) {
4949
/// For every value, liveness analysis determines whether or not it is "live".
5050
///
5151
/// A value is considered "live" iff it:
52-
/// (1) has memory effects
53-
/// (2) is returned by a public function
52+
/// (1) has memory effects OR
53+
/// (2) is returned by a public function OR
5454
/// (3) is used to compute a value of type (1) or (2) OR
5555
/// (4) is returned by a return-like op whose parent isn't a callable
5656
/// (e.g.: linalg.yield, gpu.yield,...) These ops have their own

0 commit comments

Comments
 (0)