Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

LLVM QIR Target Example #1107

@chemix-lunacy

Description

@chemix-lunacy

Hey.

This is just a quick question, so sorry if it's the wrong place! (I'll add the tag once created if I can)

I've been tinkering with getting LLVM to process QIR but it's been slow going. Do you have an example LLVM target (either whole or in part) that I could use as a reference? I had a look around but couldn't find anything readily to hand, though it might be lurking somewhere. My main issues right now are around dealing properly with the various quantum intrinsics and how they get built/flow through the usual pipeline, so anything around those areas would be immensely helpful.

Also as a side question: I noticed mention that you'd be moving more to LLVM in the future. I'm just curious to how that'd look - would you build a mostly-complete LLVM target for people to use as needed?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions