This is an archive of the discontinued LLVM Phabricator instance.

[IPSCCP,PM] Preserve PDT in the new pass manager.
ClosedPublic

Authored by fhahn on Nov 9 2018, 7:30 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

fhahn created this revision.Nov 9 2018, 7:30 AM
fhahn added a comment.Nov 9 2018, 8:07 AM

I've updated the test to explicitly use function(require<domtree>,require<postdomtree> before and after ipsccp to make sure the analyses are preserved. I couldn't find a flag to verify the PDT unfortunately.

brzycki added a subscriber: brzycki.Nov 9 2018, 8:44 AM
brzycki accepted this revision.Nov 9 2018, 8:46 AM

LGTM. Thanks again for doing this. :)

This revision is now accepted and ready to land.Nov 9 2018, 8:46 AM
NutshellySima accepted this revision.Nov 9 2018, 9:06 AM

LGTM, thanks for the patch :)

This revision was automatically updated to reflect the committed changes.
llvm/trunk/test/Transforms/SCCP/ipsccp-preserve-analysis.ll