Summary: Cleanup nop assignments.
Reviewers: george.burgess.iv, davide
Subscribers: sanjoy, jlebar, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D58308
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354612
91177308-0d34-0410-b5e6-
96231b3b80d8
CurrentGeneration, DT.getRootNode(),
DT.getRootNode()->begin(), DT.getRootNode()->end()));
- // Save the current generation.
- unsigned LiveOutGeneration = CurrentGeneration;
+ assert(!CurrentGeneration && "Create a new EarlyCSE instance to rerun it.");
// Process the stack.
while (!nodesToProcess.empty()) {
}
} // while (!nodes...)
- // Reset the current generation.
- CurrentGeneration = LiveOutGeneration;
-
return Changed;
}