[PATCH] D63443: [MemorySSA] Use GraphDiff info when computing IDF.
Alina Sbirlea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 19 14:17:55 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL363879: [MemorySSA] Use GraphDiff info when computing IDF. (authored by asbirlea, committed by ).
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63443/new/
https://reviews.llvm.org/D63443
Files:
llvm/trunk/lib/Analysis/MemorySSAUpdater.cpp
Index: llvm/trunk/lib/Analysis/MemorySSAUpdater.cpp
===================================================================
--- llvm/trunk/lib/Analysis/MemorySSAUpdater.cpp
+++ llvm/trunk/lib/Analysis/MemorySSAUpdater.cpp
@@ -963,7 +963,7 @@
// Compute IDF and add Phis in all IDF blocks that do not have one.
SmallVector<BasicBlock *, 32> IDFBlocks;
if (!BlocksToProcess.empty()) {
- ForwardIDFCalculator IDFs(DT);
+ ForwardIDFCalculator IDFs(DT, GD);
SmallPtrSet<BasicBlock *, 16> DefiningBlocks(BlocksToProcess.begin(),
BlocksToProcess.end());
IDFs.setDefiningBlocks(DefiningBlocks);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63443.205669.patch
Type: text/x-patch
Size: 658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190619/1a7c89ae/attachment.bin>
More information about the llvm-commits
mailing list