-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
buildingBuild system, or building Julia or its dependenciesBuild system, or building Julia or its dependenciescompiler:codegenGeneration of LLVM IR and native codeGeneration of LLVM IR and native codesystem:apple siliconAffects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chipsAffects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chips
Description
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#L5935
Metadata
Metadata
Assignees
Labels
buildingBuild system, or building Julia or its dependenciesBuild system, or building Julia or its dependenciescompiler:codegenGeneration of LLVM IR and native codeGeneration of LLVM IR and native codesystem:apple siliconAffects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chipsAffects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chips