This is an archive of the discontinued LLVM Phabricator instance.

[WholeProgramDevirt][NewPM] Add NPM testing path to match legacy pass
ClosedPublic

Authored by aeubanks on Sep 30 2020, 9:30 AM.

Details

Summary

The legacy pass's default constructor sets UseCommandLine = true and
goes down a separate testing route. Match that in the NPM pass.

This fixes all tests in llvm/test/Transforms/WholeProgramDevirt under NPM.

Diff Detail

Event Timeline

aeubanks created this revision.Sep 30 2020, 9:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 30 2020, 9:30 AM
aeubanks requested review of this revision.Sep 30 2020, 9:30 AM
ychen accepted this revision.Sep 30 2020, 10:42 AM

LGTM

This revision is now accepted and ready to land.Sep 30 2020, 10:42 AM