forked from OSchip/llvm-project
MemorySSA: Stop tracking def-or-use blocks.
The tracking is unused, since MemoryPhis are not pruned as of r282419. Differential Revision: https://reviews.llvm.org/D32121 llvm-svn: 300428
This commit is contained in:
parent
ae33dfac6e
commit
c819ba8874
|
@ -1291,7 +1291,6 @@ void MemorySSA::buildMemorySSA() {
|
|||
// could just look up the memory access for every possible instruction in the
|
||||
// stream.
|
||||
SmallPtrSet<BasicBlock *, 32> DefiningBlocks;
|
||||
SmallPtrSet<BasicBlock *, 32> DefUseBlocks;
|
||||
// Go through each block, figure out where defs occur, and chain together all
|
||||
// the accesses.
|
||||
for (BasicBlock &B : F) {
|
||||
|
@ -1316,8 +1315,6 @@ void MemorySSA::buildMemorySSA() {
|
|||
}
|
||||
if (InsertIntoDef)
|
||||
DefiningBlocks.insert(&B);
|
||||
if (Accesses)
|
||||
DefUseBlocks.insert(&B);
|
||||
}
|
||||
placePHINodes(DefiningBlocks, BBNumbers);
|
||||
|
||||
|
|
Loading…
Reference in New Issue