diff options
author | Jakub Staszak <jstaszak@apple.com> | 2011-07-21 22:59:09 +0000 |
---|---|---|
committer | Jakub Staszak <jstaszak@apple.com> | 2011-07-21 22:59:09 +0000 |
commit | 9d81c97c8a3bbce302d0675feffec2c801cdf718 (patch) | |
tree | d62c880370e954a4985494787e9747f97eabd8c1 /lib | |
parent | f790193aec11747bb35206d2c79e0c5ffbc6dc7f (diff) | |
download | external_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.cpp | 1 |
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) { |