[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:31:21 PDT 2017
bryant created this revision.
Herald added a subscriber: Prazek.
Unused because we no longer prune phi nodes.
Repository:
rL LLVM
https://reviews.llvm.org/D32121
Files:
lib/Transforms/Utils/MemorySSA.cpp
Index: lib/Transforms/Utils/MemorySSA.cpp
===================================================================
--- lib/Transforms/Utils/MemorySSA.cpp
+++ lib/Transforms/Utils/MemorySSA.cpp
@@ -1294,7 +1294,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) {
@@ -1319,8 +1318,6 @@
}
if (InsertIntoDef)
DefiningBlocks.insert(&B);
- if (Accesses)
- DefUseBlocks.insert(&B);
}
placePHINodes(DefiningBlocks, BBNumbers);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32121.95413.patch
Type: text/x-patch
Size: 721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170416/5140147f/attachment.bin>
More information about the llvm-commits
mailing list