Skip to content

Unify integer output recording #71

@rainij

Description

@rainij

We should unify record_bool and record_integer to a single operation. A bool is also just an integer. The new op should accept any integer as operand:

aux.record_int %c1 : i1
aux.record_int %c1 : i64

Further down the QIR exporter can select the right runtime function based on the datatype.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions