mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-27 18:28:14 +00:00
NewGVN: Remove dead code (for now)
llvm-svn: 298198
This commit is contained in:
parent
b28f86e9e6
commit
d43f0ee7e1
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user