NewGVN: Remove dead code (for now)

llvm-svn: 298198
This commit is contained in:
Daniel Berlin 2017-03-19 00:07:27 +00:00
parent b28f86e9e6
commit d43f0ee7e1

View File

@ -294,8 +294,6 @@ class NewGVN {
BitVector TouchedInstructions;
DenseMap<const BasicBlock *, std::pair<unsigned, unsigned>> BlockInstRange;
DenseMap<const DomTreeNode *, std::pair<unsigned, unsigned>>
DominatedInstRange;
#ifndef NDEBUG
// Debugging for how many times each block and instruction got processed.
@ -1730,7 +1728,6 @@ void NewGVN::cleanupTables() {
DFSToInstr.clear();
BlockInstRange.clear();
TouchedInstructions.clear();
DominatedInstRange.clear();
MemoryAccessToClass.clear();
PredicateToUsers.clear();
}
@ -2112,7 +2109,6 @@ bool NewGVN::runGVN() {
}
TouchedInstructions.resize(ICount);
DominatedInstRange.reserve(F.size());
// Ensure we don't end up resizing the expressionToClass map, as
// that can be quite expensive. At most, we have one expression per
// instruction.