InstSimplify: Handle some simple tautological comparisons
[oota-llvm.git] / lib / Analysis / Interval.cpp
index 125d42e2dca59a7aae897245aca9c2d2decead7a..e3e785ffc45fb3d15950b9e347da31c13eb95390 100644 (file)
@@ -13,8 +13,8 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Analysis/Interval.h"
-#include "llvm/BasicBlock.h"
-#include "llvm/Support/CFG.h"
+#include "llvm/IR/BasicBlock.h"
+#include "llvm/IR/CFG.h"
 #include "llvm/Support/raw_ostream.h"
 #include <algorithm>
 
@@ -27,7 +27,7 @@ using namespace llvm;
 // isLoop - Find out if there is a back edge in this interval...
 //
 bool Interval::isLoop() const {
-  // There is a loop in this interval if one of the predecessors of the header
+  // There is a loop in this interval iff one of the predecessors of the header
   // node lives in the interval.
   for (::pred_iterator I = ::pred_begin(HeaderNode), E = ::pred_end(HeaderNode);
        I != E; ++I)