[PATCH] D32121: [MemorySSA] Stop tracking def-or-use blocks.
bryant via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 16 12:58:43 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL300428: MemorySSA: Stop tracking def-or-use blocks. (authored by bryant).
Changed prior to commit:
https://reviews.llvm.org/D32121?vs=95413&id=95415#toc
Repository:
rL LLVM
https://reviews.llvm.org/D32121
Files:
llvm/trunk/lib/Analysis/MemorySSA.cpp
Index: llvm/trunk/lib/Analysis/MemorySSA.cpp
===================================================================
--- llvm/trunk/lib/Analysis/MemorySSA.cpp
+++ llvm/trunk/lib/Analysis/MemorySSA.cpp
@@ -1291,7 +1291,6 @@
// 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 @@
}
if (InsertIntoDef)
DefiningBlocks.insert(&B);
- if (Accesses)
- DefUseBlocks.insert(&B);
}
placePHINodes(DefiningBlocks, BBNumbers);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32121.95415.patch
Type: text/x-patch
Size: 730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170416/642d482b/attachment.bin>
More information about the llvm-commits
mailing list