Fix a thinko pointed out by Eli and the buildbots.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149839 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp
index 7001252..f6d6b90 100644
--- a/lib/Transforms/Scalar/GVN.cpp
+++ b/lib/Transforms/Scalar/GVN.cpp
@@ -2000,7 +2000,7 @@
   // GVN runs all such loops have preheaders, which means that Dst will have
   // been changed to have only one predecessor, namely Src.
   pred_iterator PI = pred_begin(Dst), PE = pred_end(Dst);
-  assert(PI != PE && *PI == Src && "No edge between these basic blocks!");
+  assert(PI != PE && "No edge between these basic blocks!");
   (void)Src;
   return PE == ++PI;
 }