Skip to content

[MLIR][IRDL][irdl-to-cpp] Add verifier generation #158040

@Moxinilian

Description

@Moxinilian

Currently, IRDL constraint structure is completely ignored by the C++ verifier, so no verification is happening on the generated ops. Maybe this could reuse the dynamic verifiers from the dynamic IRDL registration mechanism at mlir/include/mlir/Dialect/IRDL/IRDLVerifiers.h?

Contact points: @Moxinilian @hhkit @math-fehr

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImproving things as opposed to bug fixing, e.g. new or missing featuremlir:irdl

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions