Skip to content

Transforming to LLVM IR #365

Open
Open
@edg-l

Description

@edg-l

Do you know if its possible to use mlir-translate programatically within rust?

What i want to know is how to convert MLIR, all already transformed to llvm dialect, to llvm ir for use within the llvm api, e.g to compile to assembly, without using any tool like mlir-translate.

https://mlir.llvm.org/docs/Tutorials/Toy/Ch-6/#emitting-llvm-ir

My guess is the c api doesnt have this method?

opened this llvm/llvm-project#73008

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions