mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +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:
parent
b7aa26bbdb
commit
ce0fe5da0d
@ -338,7 +338,7 @@ bool DwarfEHPrepare::HandleURoRInvokes() {
|
||||
for (SmallPtrSet<InvokeInst*, 32>::iterator
|
||||
UI = URoRInvokes.begin(), UE = URoRInvokes.end(); UI != UE; ++UI) {
|
||||
const BasicBlock *URoRBB = (*UI)->getParent();
|
||||
if (SelBB == URoRBB || DT->dominates(SelBB, URoRBB)) {
|
||||
if (DT->dominates(SelBB, URoRBB)) {
|
||||
SelsToConvert.insert(*SI);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user