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 | 12efb16b010c62d85394b2e59db433dcfd1098c5 (patch) | |
tree | 92ea4023007c06c55296617d86209f793c1bf64a /llvm/lib/Transforms | |
parent | 4b613497f06e6d1c737aeb161dc7e418562c7e9c (diff) | |
download | bcm5719-llvm-12efb16b010c62d85394b2e59db433dcfd1098c5.tar.gz bcm5719-llvm-12efb16b010c62d85394b2e59db433dcfd1098c5.zip |
Fix a thinko pointed out by Eli and the buildbots.
llvm-svn: 149839
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Scalar/GVN.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/GVN.cpp b/llvm/lib/Transforms/Scalar/GVN.cpp index 70012524dc6..f6d6b90b99a 100644 --- a/llvm/lib/Transforms/Scalar/GVN.cpp +++ b/llvm/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; } |