This is an archive of the discontinued LLVM Phabricator instance.

[NewPM] Handle -simplifycfg in opt
ClosedPublic

Authored by aeubanks on Jun 23 2020, 4:37 PM.

Details

Summary

-simplifycfg is the legacy pass name for SimplifyCFGPass.

There is already -simplify-cfg in FUNCTION_PASS_WITH_PARAMS which
handles options for SimplifyCFGPass. Maybe that should be renamed to
-simplifycfg as well?

This reduces the number of check-llvm failures under NewPM from 2619 to 2392.

Diff Detail

Event Timeline

aeubanks created this revision.Jun 23 2020, 4:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 23 2020, 4:37 PM
aeubanks edited the summary of this revision. (Show Details)Jun 23 2020, 4:39 PM
hans accepted this revision.Jun 24 2020, 1:42 AM
This revision is now accepted and ready to land.Jun 24 2020, 1:42 AM
This revision was automatically updated to reflect the committed changes.