[SystemZ] Add test missing from r186148
[oota-llvm.git] / include / llvm / Support / BlockFrequency.h
index 147d52abe418ceb089132f18ac60b9c174284bcb..666b3c822dbcd215fe77193b8e56a280c53f2c65 100644 (file)
@@ -36,6 +36,9 @@ public:
   /// \brief Returns the frequency of the entry block of the function.
   static uint64_t getEntryFrequency() { return ENTRY_FREQ; }
 
+  /// \brief Returns the maximum possible frequency, the saturation value.
+  static uint64_t getMaxFrequency() { return -1ULL; }
+
   /// \brief Returns the frequency as a fixpoint number scaled by the entry
   /// frequency.
   uint64_t getFrequency() const { return Frequency; }