HomePhabricator

[CGP] Lazily compute domtree only when needed during address matching

Authored by reames on Mar 4 2021, 9:31 AM.

Description

[CGP] Lazily compute domtree only when needed during address matching

This is a compile time optimization for d9e93e8e5. As pointed out in post dommit review on the original review (D96399), there was a moderately large compile time regression with this patch and the eager computation of domtree on matcher construction is the first obvious candidate for why.

Details