diff --git a/lib/CodeGen/MachineBlockFrequency.cpp b/lib/CodeGen/MachineBlockFrequency.cpp index 893a320a6a6..0a77bdd38a2 100644 --- a/lib/CodeGen/MachineBlockFrequency.cpp +++ b/lib/CodeGen/MachineBlockFrequency.cpp @@ -41,6 +41,7 @@ MachineBlockFrequency::~MachineBlockFrequency() { void MachineBlockFrequency::getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired(); AU.setPreservesAll(); + MachineFunctionPass::getAnalysisUsage(AU); } bool MachineBlockFrequency::runOnMachineFunction(MachineFunction &F) {