[PATCH] D47259: [IPSCCP] Preserve DT in the new pass manager.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 23 07:25:07 PDT 2018
fhahn created this revision.
fhahn added reviewers: davide, dberlin, chandlerc, efriedma.
Herald added a subscriber: mehdi_amini.
After https://reviews.llvm.org/D45330, Dominators are required for IPSCCP and can be preserved.
This patch preserves DominatorTreeAnalysis in the new pass manager. I am not sure how to preserve function analysis info from a module pass in the legacy pass manager.
https://reviews.llvm.org/D47259
Files:
include/llvm/Transforms/Scalar/SCCP.h
lib/Transforms/IPO/SCCP.cpp
lib/Transforms/Scalar/SCCP.cpp
test/Other/new-pm-lto-defaults.ll
test/Transforms/SCCP/ipsccp-preserve-domtree.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47259.148207.patch
Type: text/x-patch
Size: 9178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180523/ec1c5688/attachment.bin>
More information about the llvm-commits
mailing list