Convert a few more backedge-taken count functions to use BackedgeTakenInfo.
[oota-llvm.git] / lib / Analysis / LiveValues.cpp
index 2bbe98aa5c2492733835b4063c0d9908d48497d8..1b91d93c0e1ffda0db72136dde5e1efd1ba42cd5 100644 (file)
@@ -17,7 +17,9 @@
 #include "llvm/Analysis/LoopInfo.h"
 using namespace llvm;
 
-FunctionPass *llvm::createLiveValuesPass() { return new LiveValues(); }
+namespace llvm {
+  FunctionPass *createLiveValuesPass() { return new LiveValues(); }
+}
 
 char LiveValues::ID = 0;
 static RegisterPass<LiveValues>
@@ -182,7 +184,7 @@ LiveValues::Memo &LiveValues::compute(const Value *V) {
     }
   }
 
-  // If the value was never used outside the the block in which it was
+  // If the value was never used outside the block in which it was
   // defined, it's killed in that block.
   if (!LiveOutOfDefBB)
     M.Killed.insert(DefBB);