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
6565 explicit MachineCycleInfoPrinterPass (raw_ostream &OS) : OS(OS) {}
6666 PreservedAnalyses run (MachineFunction &MF,
6767 MachineFunctionAnalysisManager &MFAM);
68+ bool isRequired () { return true ; }
6869};
6970
7071} // end namespace llvm
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ bool MachineCycleInfoPrinterLegacy::runOnMachineFunction(MachineFunction &F) {
104104PreservedAnalyses
105105MachineCycleInfoPrinterPass::run (MachineFunction &MF,
106106 MachineFunctionAnalysisManager &MFAM) {
107- OS << " MachineCycleInfo for function: " << MF.getName () << " \n " ;
107+ OS << " MachineCycleInfo for function: " << MF.getName () << ' \n ' ;
108108
109109 auto &MCI = MFAM.getResult <MachineCycleAnalysis>(MF);
110110 MCI.print (OS);
You can’t perform that action at this time.
0 commit comments