Skip to content

missing LLVMTranslationDialectInterface registration for dialect for op: scf.if #22207

@raayandhar

Description

@raayandhar

What happened?

Getting the error:

<unknown>:0: error: cannot be converted to LLVM IR: missing `LLVMTranslationDialectInterface` registration for dialect for op: scf.if`

Trying to compile SDXL model MLIR.
The full error is here here.

Steps to reproduce your issue

Looking through sources/ and checking which executables compile, there are two that have this error: compiled_spunet_run_forward$async_dispatch_68.mlir and compiled_spunet_run_forward$async_dispatch_171.mlir which are largely the same. Running iree-compile reproduces the same error.

What component(s) does this issue relate to?

Compiler

Version information

Top-of-main IREE, freshly exported model MLIR from Sharktank (not what's provided in iree-model-benchmark)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐞Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions