summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/MachineBlockFrequencyInfo.h')
-rw-r--r--include/llvm/CodeGen/MachineBlockFrequencyInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineBlockFrequencyInfo.h b/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
index f888e54593..63ab2ef850 100644
--- a/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
+++ b/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
@@ -15,6 +15,7 @@
#define LLVM_CODEGEN_MACHINEBLOCKFREQUENCYINFO_H
#include "llvm/CodeGen/MachineFunctionPass.h"
+#include "llvm/Support/BlockFrequency.h"
#include <climits>
namespace llvm {
@@ -45,7 +46,7 @@ public:
/// that we should not rely on the value itself, but only on the comparison to
/// the other block frequencies. We do this to avoid using of floating points.
///
- uint32_t getBlockFreq(MachineBasicBlock *MBB);
+ BlockFrequency getBlockFreq(MachineBasicBlock *MBB);
};
}