File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
llvm/include/llvm/CodeGen Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -286,9 +286,10 @@ class MachineDominatorTreePrinterPass
286
286
raw_ostream &OS;
287
287
288
288
public:
289
- MachineDominatorTreePrinterPass (raw_ostream &OS) : OS(OS) {}
289
+ explicit MachineDominatorTreePrinterPass (raw_ostream &OS) : OS(OS) {}
290
290
PreservedAnalyses run (MachineFunction &MF,
291
291
MachineFunctionAnalysisManager &MFAM);
292
+ static bool isRequired () { return true ; }
292
293
};
293
294
294
295
// / \brief Analysis pass which computes a \c MachineDominatorTree.
Original file line number Diff line number Diff line change @@ -81,9 +81,10 @@ class MachinePostDominatorTreePrinterPass
81
81
raw_ostream &OS;
82
82
83
83
public:
84
- MachinePostDominatorTreePrinterPass (raw_ostream &OS) : OS(OS) {}
84
+ explicit MachinePostDominatorTreePrinterPass (raw_ostream &OS) : OS(OS) {}
85
85
PreservedAnalyses run (MachineFunction &MF,
86
86
MachineFunctionAnalysisManager &MFAM);
87
+ static bool isRequired () { return true ; }
87
88
};
88
89
89
90
class MachinePostDominatorTreeWrapperPass : public MachineFunctionPass {
You can’t perform that action at this time.
0 commit comments