[JumpThreading] Don't forget to report that the IR changed
[oota-llvm.git] / include / llvm / Transforms / Utils / Local.h
index 81b376f0c212cf445ecd2d8ade9d28a8db4ca3a8..911c6f14da0b98425d2d9972a3dd4bed831e1df2 100644 (file)
@@ -42,6 +42,7 @@ class TargetLibraryInfo;
 class TargetTransformInfo;
 class DIBuilder;
 class DominatorTree;
+class LazyValueInfo;
 
 template<typename T> class SmallVectorImpl;
 
@@ -303,7 +304,7 @@ void removeUnwindEdge(BasicBlock *BB);
 /// \brief Remove all blocks that can not be reached from the function's entry.
 ///
 /// Returns true if any basic block was removed.
-bool removeUnreachableBlocks(Function &F);
+bool removeUnreachableBlocks(Function &F, LazyValueInfo *LVI = nullptr);
 
 /// \brief Combine the metadata of two instructions so that K can replace J
 ///