mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Minor code simplification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174985 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8915e27704
commit
67cd669f7b
@ -2445,7 +2445,7 @@ bool GVN::performPRE(Function &F) {
|
||||
if (P == CurrentBlock) {
|
||||
NumWithout = 2;
|
||||
break;
|
||||
} else if (!DT->dominates(&F.getEntryBlock(), P)) {
|
||||
} else if (!DT->isReachableFromEntry(P)) {
|
||||
NumWithout = 2;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user