-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
partially fix #2149, partially support more efficient struct return (…
…disabled). unfortunately this breaks ComplexPair{Int} (ComplexPair{Float64} seems OK)
- Loading branch information
Showing
1 changed file
with
58 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75f8321
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.
In what universe did it seem appropriate to push this to master?
75f8321
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.
What is going on here? Why does this break something?
75f8321
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.
I pushed this because it seemed to fix more than it broke. It appears that llvm is violating the separation of the ABI from the llvm language reference
75f8321
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.
The struct passing is a brand new feature that no one is relying on yet since it was just pushed and is still undocumented. This commit breaks complex integer functionality that we document extensively and have explicit tests for.
75f8321
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.
exactly, which is why i felt is was ok to break support for passing ComplexPair{Int} to ccall, to support passing most other structs. it passes the tests: https://travis-ci.org/JuliaLang/julia/jobs/4441460
75f8321
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.
That travis link doesn't include this commit. The build for this commit timed out during the linalg tests: https://travis-ci.org/JuliaLang/julia/jobs/4441290. On my machine this broke the math tests:
I haven't dug into it. Did this pass on your local machine?