Skip to content
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

[MLIR] Add SystemZ arg extensions for some tests #116314

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JonPsson1
Copy link
Contributor

The SystemZ ABI requires that i32 values should be extended when passed between functions.

This patch fixes some tests that were lacking this, either by adding some SystemZ specific inlinings of test functions or by disabling the verification of this with the CL option controlling this.

@JonPsson1
Copy link
Contributor Author

Hmm, wait maybe the option -argext-abi-check=false is only available when SystemZ is built, as it is defined in the SystemZ backend.

I guess either move that option to a place where it is always present (makes sense as other targets should eventually also use it),
or follow the original idea and simply copy that test into a separate version for s390x, and XFAIL the original for s390x.

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.

1 participant