Skip to content

[Question][Hw2] print bool type #23

@yongwoo36

Description

@yongwoo36

When I try to make some print bool example such as below, it needs to execute zext i1 %cmp to i32 instruction.

int a = 10, b = 20; 
print(a < b)

But we do not support zext instruction, so it raises unsupported error.

Can I assume there is no print bool type?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions