[PATCH] D47259: [IPSCCP,PM] Preserve DT in the new pass manager.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 8 11:03:49 PST 2018


chandlerc accepted this revision.
chandlerc added a comment.

LGTM, nit below.



================
Comment at: include/llvm/Transforms/Scalar/SCCP.h:42-43
 
-bool runIPSCCP(
-    Module &M, const DataLayout &DL, const TargetLibraryInfo *TLI,
-    function_ref<std::unique_ptr<PredicateInfo>(Function &)> getPredicateInfo);
+/// Helper struct for bundling up the analysis per function for IPSCCP.
+struct AnalysisForFn {
+  std::unique_ptr<PredicateInfo> PredInfo;
----------------
s/Analysis/AnalysisResults/ ?


https://reviews.llvm.org/D47259





More information about the llvm-commits mailing list