This is an archive of the discontinued LLVM Phabricator instance.

[Coroutines] Only run verifyFunction in debug mode
ClosedPublic

Authored by lxfind on Sep 2 2021, 2:34 PM.

Details

Summary

verifyFunction can be really slow on large functions. This can significantly slow down compilation in production.
Given that coroutine passes are fairly stable now, we should only run it in debug mode.

Diff Detail

Event Timeline

lxfind created this revision.Sep 2 2021, 2:34 PM
lxfind requested review of this revision.Sep 2 2021, 2:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 2 2021, 2:34 PM
wenlei accepted this revision.Sep 2 2021, 5:30 PM

lgtm, thanks.

This revision is now accepted and ready to land.Sep 2 2021, 5:30 PM
This revision was landed with ongoing or failed builds.Sep 2 2021, 5:35 PM
This revision was automatically updated to reflect the committed changes.