Skip to content

Asyncify produces invalid IR for inner passes #8753

@stevenfontanella

Description

@stevenfontanella

In #8738 (comment), we found that Asyncify creates calls to functions that don't exist, and then runs some inner passes. With the code from #8738, SimplifyLocals crashes when trying to lookup a function that doesn't exist (__asyncify_get_call_index in this case). We should add these functions as imports so that passes don't need to handle invalid IR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions