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

[LLVM/ABI] Don't pass null pointer to byVal attribute #44555

Merged
merged 2 commits into from
Mar 11, 2022
Merged

Conversation

vchuravy
Copy link
Sponsor Member

In #43417 I adjusted the ABI code to pass the LLVM type to the ByVal attribute.
IIRC the LLVM type should come from the outside (and does for every other case),
but I seem to have left some old cold in that tried to get the LLVM type for the
argument again, but could return Null for VecElement.

In #44365 @pchintalapudi noticed that the LLVM verifier would fail, since in the
ccall tests we try to pass a VecElement wrongly.

@vchuravy vchuravy added this to the 1.8 milestone Mar 10, 2022
@vchuravy vchuravy added backport 1.8 Change should be backported to release-1.8 needs pkgeval Tests for all registered packages should be run with this change labels Mar 10, 2022
@DilumAluthge
Copy link
Member

Needs a rebase (or just click the "Update branch" button) to fix Buildkite.

@vchuravy
Copy link
Sponsor Member Author

@nanosoldier runtests(ALL, vs = ":master")

@nanosoldier
Copy link
Collaborator

Your package evaluation job has completed - possible new issues were detected. A full report can be found here.

@KristofferC KristofferC mentioned this pull request Mar 11, 2022
47 tasks
@vtjnash vtjnash merged commit f5d1557 into master Mar 11, 2022
@vtjnash vtjnash deleted the vc/x86_abi branch March 11, 2022 17:10
KristofferC pushed a commit that referenced this pull request Mar 12, 2022
@KristofferC KristofferC removed the backport 1.8 Change should be backported to release-1.8 label Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs pkgeval Tests for all registered packages should be run with this change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants