Skip to content

WAMRC terminator bug #2620

@arjunr2

Description

@arjunr2

wamrc has a bug in the LLVM compilation flow when a compare instruction precedes a parametrized block. I have attached a sample WASM file below that demonstrates this, where the sign extension instruction is inserted after the terminator.

The compiler is built with default flags: cmake -B build; make -C build

bug.tar.gz

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