mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-07 13:09:52 +00:00
Fix typo in LoopSimplifyCFG
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259261 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c94d7d441
commit
d7541ec848
@ -80,7 +80,7 @@ static bool simplifyLoopCFG(Loop *L, DominatorTree *DT, LoopInfo *LI) {
|
||||
for (auto &Block : Blocks) {
|
||||
// Attempt to merge blocks in the trivial case. Don't modify blocks which
|
||||
// belong to other loops.
|
||||
BasicBlock *Succ = cast<BasicBlock>(Block);
|
||||
BasicBlock *Succ = cast_or_null<BasicBlock>(Block);
|
||||
if (!Succ)
|
||||
continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user