diff options
-rw-r--r-- | lib/Transforms/Scalar/GVN.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp index 70012524dc..f6d6b90b99 100644 --- a/lib/Transforms/Scalar/GVN.cpp +++ b/lib/Transforms/Scalar/GVN.cpp @@ -2000,7 +2000,7 @@ static bool isOnlyReachableViaThisEdge(BasicBlock *Src, BasicBlock *Dst, // 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; } |