8000 第6章:操作匹配和重写(1) | Inside Compiler · Issue #72 · inside-compiler/inside-compiler.github.io · GitHub
[go: up one dir, main page]

Skip to content

第6章:操作匹配和重写(1) | Inside Compiler #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fiking opened this issue Sep 24, 2024 · 0 comments
Open

第6章:操作匹配和重写(1) | Inside Compiler #72

fiking opened this issue Sep 24, 2024 · 0 comments

Comments

@fiking
Copy link
Collaborator
fiking commented Sep 24, 2024

https://inside-compiler.github.io/2024/09/07/mlir-rewriter/

操作匹配和重写是MLIR中最重要的概念,通过操作匹配和重写实现方言降级和操作变换。在MLIR中为了实现编译和优化功能,一般需要将高级方言的操作转换(Convert)到低级方言的操作,该过程一般也称为降级(Lowering),实现编译功能;或者将方言中的操作变换(Transform)到本方言中的其它的操作,从而实现操作优化功能;它们都依赖于操作匹配和重写机制。匹配是编译原理中非常常见的问题,例如编译

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0