mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-07 01:38:26 +00:00
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
This commit is contained in:
parent
33756f96d7
commit
87ba3f122b
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user