Skip to content
This repository was archived by the owner on Feb 21, 2026. It is now read-only.
This repository was archived by the owner on Feb 21, 2026. It is now read-only.

Lowering CIR to SCF? #2067

Description

@jelvani

What is the status of the -cir-mlir-scf-prepare pass (listed here) for cir-opt? I am using llvmorg-21.1.7 and I do not see any passes for cir-opt or mlir-opt related to lowering CIR to SCF.
Are there any other ways to do this as of now?
I need to compile C code to MLIR SCF and the only other way I know of is with Polygeist which throws errors for the code I have and as far as I know is no longer active.

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