mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-01 10:02:42 +00:00
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300428 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2b0974b93
commit
8f7c2a67b8
@ -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…
x
Reference in New Issue
Block a user