Skip to content

Issues related to the purity modeling PR #44314

@gbaraldi

Description

@gbaraldi

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

No one assigned

    Labels

    buildingBuild system, or building Julia or its dependenciescompiler:codegenGeneration of LLVM IR and native codesystem:apple siliconAffects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chips

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions