File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ void PrintOpStatsPass::runOnOperation() {
5555 printSummaryInJSON ();
5656 } else
5757 printSummary ();
58+ markAllAnalysesPreserved ();
5859}
5960
6061void PrintOpStatsPass::printSummary () {
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ struct PrintIRPass : public impl::PrintIRPassBase<PrintIRPass> {
2525 llvm::dbgs () << " " << this ->label ;
2626 llvm::dbgs () << " //----- //\n " ;
2727 getOperation ()->dump ();
28+ markAllAnalysesPreserved ();
2829 }
2930};
3031
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ class PrintOpPass : public impl::ViewOpGraphBase<PrintOpPass> {
9393 processOperation (getOperation ());
9494 emitAllEdgeStmts ();
9595 });
96+ markAllAnalysesPreserved ();
9697 }
9798
9899 // / Create a CFG graph for a region. Used in `Region::viewGraph`.
You can’t perform that action at this time.
0 commit comments