This is an archive of the discontinued LLVM Phabricator instance.

[TargetPassConfig] Don't add alias analysis at optnone
ClosedPublic

Authored by nikic on May 21 2020, 7:31 AM.

Details

Summary

When performing codegen at optnone, don't add alias analysis to the pipeline. We don't need it, but it causes an unnecessary dominator tree calculation. (There are still two more left...)

I've also moved the module verifier call to the top so that a bunch of disabled-at-optnone passes group more nicely.

Diff Detail

Event Timeline

nikic created this revision.May 21 2020, 7:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 21 2020, 7:31 AM
This revision is now accepted and ready to land.May 21 2020, 11:20 AM
This revision was automatically updated to reflect the committed changes.