-
-
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
Issues related to the purity modeling PR #44314
Comments
To debug the M1 issue I used an llvm build with some debug prints added, see Make.user:
|
Could you paste the error output? I'm also not sure what you mean about CodeInstance:
What is the union you're referring to? |
The union is in C Lines 377 to 426 in 1b47efb
Lines 421 to 431 in 1b47efb
The error output came from deep in LLVM but it's
|
Thanks. |
It does not unfortunately |
This is more of a reminding issue than something to hold up development.
The PR causes an LLVM error in the
CodeInstances
ccall in boot.jl when building in the M1, this might be related to the fact that the codeinstances struct uses a nested anonymous union. (This has a hacky fix for now, see #44279 and #44107 for details)The same union also causes warnings when building with clang and apparently violates TBAA. (see #44255)
Edit:
This is what tells LLVM that it can't do a tailcall for the
CodeInstances
ccall
https://github.com/JuliaLang/llvm-project/blob/bc5644ee74f4cb42042257ac129d2be1c252e3f2/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp#L5935The text was updated successfully, but these errors were encountered: