[PATCH] D59349: Let CorrelatedValuePropagation preserve LazyValueInfo
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 23 21:39:42 PDT 2019
aqjune updated this revision to Diff 192022.
aqjune added a comment.
Removes eraseValue() calls
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59349/new/
https://reviews.llvm.org/D59349
Files:
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
Index: lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
===================================================================
--- lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
+++ lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
@@ -83,6 +83,7 @@
AU.addRequired<LazyValueInfoWrapperPass>();
AU.addPreserved<GlobalsAAWrapperPass>();
AU.addPreserved<DominatorTreeWrapperPass>();
+ AU.addPreserved<LazyValueInfoWrapperPass>();
}
};
@@ -802,5 +803,6 @@
PreservedAnalyses PA;
PA.preserve<GlobalsAA>();
PA.preserve<DominatorTreeAnalysis>();
+ PA.preserve<LazyValueAnalysis>();
return PA;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59349.192022.patch
Type: text/x-patch
Size: 647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190324/2ffa1404/attachment.bin>
More information about the llvm-commits
mailing list