forked from OSchip/llvm-project
parent
26c00e3700
commit
0b79aa3373
|
@ -2402,6 +2402,7 @@ bool NewGVN::eliminateInstructions(Function &F) {
|
|||
continue;
|
||||
assert(!EliminationStack.empty());
|
||||
Instruction *Leader = cast<Instruction>(EliminationStack.back());
|
||||
(void)Leader;
|
||||
assert(DT->dominates(Leader->getParent(), Member->getParent()));
|
||||
// Member is dominater by Leader, and thus dead
|
||||
DEBUG(dbgs() << "Marking dead store " << *Member
|
||||
|
|
Loading…
Reference in New Issue