File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ class MachineCycleInfoPrinterPass
65
65
explicit MachineCycleInfoPrinterPass (raw_ostream &OS) : OS(OS) {}
66
66
PreservedAnalyses run (MachineFunction &MF,
67
67
MachineFunctionAnalysisManager &MFAM);
68
+ bool isRequired () { return true ; }
68
69
};
69
70
70
71
} // end namespace llvm
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ bool MachineCycleInfoPrinterLegacy::runOnMachineFunction(MachineFunction &F) {
104
104
PreservedAnalyses
105
105
MachineCycleInfoPrinterPass::run (MachineFunction &MF,
106
106
MachineFunctionAnalysisManager &MFAM) {
107
- OS << " MachineCycleInfo for function: " << MF.getName () << " \n " ;
107
+ OS << " MachineCycleInfo for function: " << MF.getName () << ' \n ' ;
108
108
109
109
auto &MCI = MFAM.getResult <MachineCycleAnalysis>(MF);
110
110
MCI.print (OS);
You can’t perform that action at this time.
0 commit comments