This is an archive of the discontinued LLVM Phabricator instance.

[AArch64TargetParser] reinstate assert for optional
ClosedPublic

Authored by tmatheson on Mar 6 2023, 5:02 AM.

Details

Summary

D145206 changed value() to value_or(0), removing the assert that checks
that there is a minor version. Add it back explicitly.

Diff Detail

Event Timeline

tmatheson created this revision.Mar 6 2023, 5:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2023, 5:02 AM
tmatheson requested review of this revision.Mar 6 2023, 5:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2023, 5:02 AM
zixuw accepted this revision.Mar 6 2023, 9:31 AM
This revision is now accepted and ready to land.Mar 6 2023, 9:31 AM
This revision was automatically updated to reflect the committed changes.