[PATCH] D59349: Let CorrelatedValuePropagation preserve LazyValueInfo
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 13:27:14 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL366942: Let CorrelatedValuePropagation preserve LazyValueInfo (authored by xbolva00, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D59349?vs=211126&id=211594#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59349/new/
https://reviews.llvm.org/D59349
Files:
llvm/trunk/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
Index: llvm/trunk/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
+++ llvm/trunk/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
@@ -85,6 +85,7 @@
AU.addRequired<LazyValueInfoWrapperPass>();
AU.addPreserved<GlobalsAAWrapperPass>();
AU.addPreserved<DominatorTreeWrapperPass>();
+ AU.addPreserved<LazyValueInfoWrapperPass>();
}
};
@@ -796,5 +797,6 @@
PreservedAnalyses PA;
PA.preserve<GlobalsAA>();
PA.preserve<DominatorTreeAnalysis>();
+ PA.preserve<LazyValueAnalysis>();
return PA;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59349.211594.patch
Type: text/x-patch
Size: 680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190724/1fe3a775/attachment.bin>
More information about the llvm-commits
mailing list