Skip to content

[Triple] Add SubArchs, add validation for thumb architectures #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 27, 2020

Conversation

sjavora
Copy link
Contributor

@sjavora sjavora commented Jan 18, 2020

This fills the (currently empty) Triple.SubArch enum based on LLVM and resolves the thumb architectures validation FIXME.

This also meant commented lines in tests related to subArchs could now be uncommented.

@sjavora
Copy link
Contributor Author

sjavora commented Jan 18, 2020

Triple.swift is now over 1500 lines - would it make sense to extract some code to separate files? If so, which parts?

Copy link
Contributor

@owenv owenv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me overall, just a few small comments. Thanks for working on this!

@sjavora
Copy link
Contributor Author

sjavora commented Jan 23, 2020

@owenv could you please take another look when you have the time? I think I've managed to eliminate most of the nonsensical states.

Copy link
Contributor

@owenv owenv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, I really like how the nested enums worked for SubArch handling!

@DougGregor
Copy link
Member

@swift-ci please test

1 similar comment
@DougGregor
Copy link
Member

@swift-ci please test

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me, thank you!

@DougGregor DougGregor merged commit 26e8e06 into swiftlang:master Jan 27, 2020
@sjavora sjavora deleted the triple-subarch branch February 9, 2020 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants