aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJakub Staszak <jstaszak@apple.com>2011-07-21 22:59:09 +0000
committerJakub Staszak <jstaszak@apple.com>2011-07-21 22:59:09 +0000
commit9d81c97c8a3bbce302d0675feffec2c801cdf718 (patch)
treed62c880370e954a4985494787e9747f97eabd8c1 /lib
parentf790193aec11747bb35206d2c79e0c5ffbc6dc7f (diff)
downloadexternal_llvm-9d81c97c8a3bbce302d0675feffec2c801cdf718.zip
external_llvm-9d81c97c8a3bbce302d0675feffec2c801cdf718.tar.gz
external_llvm-9d81c97c8a3bbce302d0675feffec2c801cdf718.tar.bz2
Add missing getAnalysisUsage in MachineBlockFrequency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135714 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/MachineBlockFrequency.cpp1
1 files changed, 1 insertions, 0 deletions
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<MachineBranchProbabilityInfo>();
AU.setPreservesAll();
+ MachineFunctionPass::getAnalysisUsage(AU);
}
bool MachineBlockFrequency::runOnMachineFunction(MachineFunction &F) {