-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Code generation failure on expression involving Tuples of length > 2 (regression in 0.4-dev) #12163
Comments
Hmm, I could't reproduce on |
@yuyichao, one can reproduce in Juliabox. |
@samuelpowell Yeah, that's true. Somehow the llvm IR looks correct but the assembly looks wrong? |
Looks very similar to #8932 |
So LLVM optimized too much after #10380 ? |
code_native on a machine that gave the right answer:
juliabox:
|
Isn't this just a (far) tail call ? Would be interesting to know where it goes. |
The jump location appears to be unstable. In one instance it seems to try to call sincos...
|
Works fine on an old build of
|
possibly the same as #7434 also |
The following works as expected:
However increasing the length of the tuple beyond two elements results in abnormal behaviour:
Evaluating in the global scope works correctly:
In the failing cases, Julia appears
simply to move some data aroundto jump somewhere:Everything works correctly under 0.3.9.
I have encountered this error on the following builds of 0.4-dev
The text was updated successfully, but these errors were encountered: