-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[test] Add s390x support for test/IRGen/pic.swift #22068
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
[test] Add s390x support for test/IRGen/pic.swift #22068
Conversation
Hmm, I don't know s390 assembly to properly review this. Why does |
Looks like It looks like this is hard-coding a specific frame layout. Are you okay with potentially changing this test whenever you change the backend? |
By reading the check label for other cpu (e.g., x86_64, aarch64) within this test file, I am not sure what kind of modifier |
You mean potentially change of this test whenever the backend platform is changed? If so, yes, our team has been closely following the development of swift, as well as the platform we are using. |
@compnerd is just unfamiliar with z/Architecture assembly. In many assembly languages, the fact that the immediate is PC-relative would be more explicit.
It feels like an unnecessary burden to have frontend tests break from unrelated backend changes. If this test is just checking that we generate PIC, I think the only line you actually need here is the |
Sure, will provide an update. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks!
@swift-ci Please test. |
Build failed |
Build failed |
This is adding s390x support for
test/IRGen/pic.swift
.