Add getUnrollingPreferences to TTI
[oota-llvm.git] / include / llvm / Analysis / BlockFrequencyImpl.h
index 5e14d6f09a5de9004f7e17172605b18d5a85ec83..817a44188b894a11005c431e637075f664819748 100644 (file)
@@ -118,7 +118,7 @@ class BlockFrequencyImpl {
 
   /// isBackedge - Return if edge Src -> Dst is a reachable backedge.
   ///
-  bool isBackedge(BlockT *Src, BlockT *Dst) {
+  bool isBackedge(BlockT *Src, BlockT *Dst) const {
     unsigned a = RPO.lookup(Src);
     if (!a)
       return false;