Skip to content

Commit

Permalink
Add MLIR to 20201016 (plctlab#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghb97 authored Oct 15, 2020
1 parent 20d5dcd commit cd62f7a
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion 2020-10-16.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,28 @@ Bilibili:https://www.bilibili.com/read/readlist/rl199373

## MLIR

TODO 张洪滨
PLCT实验室张洪滨向 MLIR repo 提交 patch:

Committed:

**[mlir] Add Float Attribute, Integer Attribute and Bool Attribute subclasses to python bindings.**

https://github.com/llvm/llvm-project/commit/2fc0d4a8e83807d57f8d586af82934f94dead5e3

```
Based on PyAttribute and PyConcreteAttribute classes, this patch implements the bindings of Float Attribute, Integer Attribute and Bool Attribute subclasses.
This patch also defines the `mlirFloatAttrDoubleGetChecked` C API which is bound with the `FloatAttr.get_typed` python method.
Differential Revision: https://reviews.llvm.org/D88531
```

除此之外,MLIR Python Bindings项目经过桥接,最近已经被`mlir-npcomp`项目初步使用,正在分析相关[PR](https://github.com/llvm/mlir-npcomp/pull/77). 下一步的Python Bindings工作需要等待[D89363](https://reviews.llvm.org/D89363)提交之后,再进行下一步绑定。

**MLIR知乎文章**

MLIR 诊断系统 - Source Locations - https://zhuanlan.zhihu.com/p/261156885

MLIR 诊断系统 - Diagnostic & Diagnostic Engine - https://zhuanlan.zhihu.com/p/262988212

## CIRCT

Expand Down

0 comments on commit cd62f7a

Please sign in to comment.