From 9d81c97c8a3bbce302d0675feffec2c801cdf718 Mon Sep 17 00:00:00 2001 From: Jakub Staszak Date: Thu, 21 Jul 2011 22:59:09 +0000 Subject: Add missing getAnalysisUsage in MachineBlockFrequency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135714 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MachineBlockFrequency.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CodeGen/MachineBlockFrequency.cpp b/lib/CodeGen/MachineBlockFrequency.cpp index 893a320..0a77bdd 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) { -- cgit v1.1