This is an archive of the discontinued LLVM Phabricator instance.

[NewPM][optnone] Mark various passes as required
ClosedPublic

Authored by aeubanks on Aug 6 2020, 11:16 AM.

Details

Summary

This was done by turning on -enable-npm-optnone and fixing failures.
That will be enabled in a follow-up change for ease of reverting.

Diff Detail

Event Timeline

aeubanks created this revision.Aug 6 2020, 11:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 6 2020, 11:16 AM
aeubanks requested review of this revision.Aug 6 2020, 11:16 AM
aeubanks planned changes to this revision.Aug 6 2020, 11:35 AM

I think I need a test in clang that tests that no passes are skipped under -O0.

Herald added a project: Restricted Project. · View Herald TranscriptAug 7 2020, 4:58 PM
ychen added a comment.Aug 7 2020, 5:17 PM

Looks reasonable to me. Please let @asbirlea double-check.

aeubanks updated this revision to Diff 284875.Aug 11 2020, 1:35 PM

Specify target

aeubanks updated this revision to Diff 285752.Aug 14 2020, 1:43 PM

-target -> -triple
rebase

asbirlea accepted this revision.Aug 14 2020, 3:47 PM
This revision is now accepted and ready to land.Aug 14 2020, 3:47 PM
This revision was automatically updated to reflect the committed changes.