Skip to content

Commit 855d557

Browse files
Update mlir/docs/Tutorials/DataFlowAnalysis.md
Co-authored-by: Mehdi Amini <[email protected]>
1 parent 349630e commit 855d557

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/docs/Tutorials/DataFlowAnalysis.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ void MyPass::runOnOperation() {
293293
if (op->getNumResults()) {
294294
Value result = op->getResult(0);
295295
auto lattice = solver.lookupState<MetadataLatticeValueLattice>(result);
296+
llvm::outs() << OpWithFlags(op, OpPrintingFlags().skipRegions()) << " : ";
296297
lattice->print(llvm::outs());
297298
}
298299
});

0 commit comments

Comments
 (0)