Skip to content

Lower LLVM intrinsics to platform-specific ops #479

Closed

Description

@maleadt

Metal.jl supports atomics through special AIR intrinsics. We should explore whether it's possible to instead lower LLVM atomics to these AIR intrinsics, so that we can just use UnsafeAtomicsLLVM.jl.

Activity

  1. added
    metalStuff about the Apple metal back-end.
    on Jun 26, 2023
  2. changed the title [-]Metal: support LLVM intrinsics for atomics[/-] [+]Lower LLVM intrinsics to platform-specific ops[/+] on Sep 13, 2024
  3. maleadt commented on Oct 19, 2026

    @maleadt
    MemberAuthor

    Done in #942 and #943: LLVM atomics are lowered to AIR atomic intrinsics, and unsupported ones are reported as invalid IR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    metalStuff about the Apple metal back-end.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions