Skip to content

第4章(3):接口 | Inside Compiler #59

Open
@fiking

Description

@fiking

https://inside-compiler.github.io/2024/06/15/mlir-interfaces/

在MLIR中使用方言封装操作、类型和属性,通过自定义方言,开发者实现不同抽象层次的语义。这对MLIR框架来说带来一个问题,分析和转换可能需要针对每个方言或者每个操作。而接口机制正是为了解决这一问题而提出的,它可以为一类方言或者操作提供统一的转换和分析接口,而不需要涉及到一个具体的方言和操作。 4.3.1方言接口方言接口通常适用于转换或分析,这些转换或分析希望对一组属性、操作或者类型进行通用操作(而

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions