This is an archive of the discontinued LLVM Phabricator instance.

[opt] Error if -debug-pass is specified alongside the new PM
ClosedPublic

Authored by aeubanks on Mar 2 2021, 2:50 PM.

Diff Detail

Event Timeline

aeubanks created this revision.Mar 2 2021, 2:50 PM
aeubanks requested review of this revision.Mar 2 2021, 2:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 2 2021, 2:50 PM
aeubanks updated this revision to Diff 327599.Mar 2 2021, 2:53 PM

add flag to use legacy PM

ychen added a comment.Mar 2 2021, 3:20 PM

Sounds good. Does this happen for Clang too? With clang -Xclang -mllvm -Xclang -debug-pass=Structure -fexperimental-new-pass-manager, it still prints the legacy PM passes?

I can do that for clang in a separate change

ychen accepted this revision.Mar 2 2021, 3:57 PM

LGTM

This revision is now accepted and ready to land.Mar 2 2021, 3:57 PM
This revision was landed with ongoing or failed builds.Mar 2 2021, 3:59 PM
This revision was automatically updated to reflect the committed changes.