This is an archive of the discontinued LLVM Phabricator instance.

[Dominators] Do not perform expensive checks by default. Fix PR33656.
ClosedPublic

Authored by kuhar on Jun 30 2017, 9:25 AM.

Details

Summary

Some transforms assume that DT.verifyDomInfo() is not expensive and call it even when ENABLE_EXPENSIVE_CHECKS is not set.
This patch disables expensive Dominator Tree verification (reachability, parent property, sibling property) to fix
PR33656.

Note that this is only a temporary fix.

Diff Detail

Event Timeline

kuhar created this revision.Jun 30 2017, 9:25 AM
dberlin accepted this revision.Jun 30 2017, 9:30 AM
This revision is now accepted and ready to land.Jun 30 2017, 9:30 AM
This revision was automatically updated to reflect the committed changes.