diff --git a/2020-10-16.md b/2020-10-16.md index e4dfe94d..a5cb120d 100644 --- a/2020-10-16.md +++ b/2020-10-16.md @@ -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