diff options
author | Duncan Sands <baldrick@free.fr> | 2012-02-05 18:56:50 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2012-02-05 18:56:50 +0000 |
commit | 87ba3f122b0203cf71e10c5e48d2d35beb3b0fc3 (patch) | |
tree | e2e2a71722c525629315665d5b23de93c6204c96 /lib/Transforms | |
parent | 33756f96d75e20d336f404debf701e8d6b4ecfc8 (diff) |
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
Diffstat (limited to 'lib/Transforms')
-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; } |