This is an archive of the discontinued LLVM Phabricator instance.

[ADCE] Remove the need of DomTree
ClosedPublic

Authored by NutshellySima on Jul 30 2018, 7:58 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

NutshellySima created this revision.Jul 30 2018, 7:58 AM
kuhar added inline comments.Aug 2 2018, 8:57 AM
lib/Transforms/Scalar/ADCE.cpp
675 ↗(On Diff #157964)

Can you add a comment explaining that you only get DT to preserve it, and only when it's already available?

702 ↗(On Diff #157964)

Same as above

Address comments.

NutshellySima marked 2 inline comments as done.Aug 2 2018, 9:04 AM
kuhar accepted this revision.Aug 2 2018, 9:05 AM
This revision is now accepted and ready to land.Aug 2 2018, 9:05 AM

LGTM if you have done a full test-suite correctness test on this patch.

This revision was automatically updated to reflect the committed changes.