This is an archive of the discontinued LLVM Phabricator instance.

[MemorySSA] Combine verifications.
ClosedPublic

Authored by asbirlea on Nov 22 2019, 2:14 PM.

Details

Summary

Combine three verification methods into one to improve compile time when asserts are enabled.
Motivated by PR44066.

Sample change of timings on testcase in PR44066 (release+asserts):
MSSA off or verification disabled: 1.13s.
MSSA on (ToT): 2.48s.
With patch: 2.03s.
With enabling DefUses after combining Domination+Ordering: 2.6s.
After also combining DefUses with Domination+Ordering: 2.06s (candidate to be taken out of EXPENSIVE_CHECKS).

Diff Detail

Event Timeline

asbirlea created this revision.Nov 22 2019, 2:14 PM
asbirlea updated this revision to Diff 230739.Nov 22 2019, 3:53 PM

Combine 3 methods.

asbirlea retitled this revision from [MemorySSA] Combine two verifications into one. to [MemorySSA] Combine verifications..Nov 22 2019, 3:55 PM
asbirlea edited the summary of this revision. (Show Details)
asbirlea added a reviewer: george.burgess.iv.
This revision was not accepted when it landed; it landed in state Needs Review.Nov 25 2019, 4:10 PM
This revision was automatically updated to reflect the committed changes.