Skip to content

✨ Add tests for the QIR conversion using .ll files as Input/Output #1153

@li-mingbao

Description

@li-mingbao

Problem Statement

Once #1091 is merged, it adds the conversion between the mqtref dialect and the llvm dialect that adheres to the QIR base profile specification. Currently, the tests only verify the conversion between the dialects within MLIR.
The translation to LLVM IR and MLIR has to be done manually with the mlir-translate tool and the output is not checked.

Proposed Solution

Update the tests so that a .ll file can directly be translated to the MLIR environment and back and be used for the input/output of tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    MLIRAnything related to MLIRcode qualityCode quality improvements

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions