mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
A block dominates itself, by definition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109402 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -338,7 +338,7 @@ bool DwarfEHPrepare::HandleURoRInvokes() {
|
|||||||
for (SmallPtrSet<InvokeInst*, 32>::iterator
|
for (SmallPtrSet<InvokeInst*, 32>::iterator
|
||||||
UI = URoRInvokes.begin(), UE = URoRInvokes.end(); UI != UE; ++UI) {
|
UI = URoRInvokes.begin(), UE = URoRInvokes.end(); UI != UE; ++UI) {
|
||||||
const BasicBlock *URoRBB = (*UI)->getParent();
|
const BasicBlock *URoRBB = (*UI)->getParent();
|
||||||
if (SelBB == URoRBB || DT->dominates(SelBB, URoRBB)) {
|
if (DT->dominates(SelBB, URoRBB)) {
|
||||||
SelsToConvert.insert(*SI);
|
SelsToConvert.insert(*SI);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user