| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir][OpDSL] Add support for adding canonicalization patterns. Extend OpDSL with a defines method that can set the hasCanonicalizer flag for an OpDSL operation. If the flag is set via defines(Canonicalizer) the operation needs to implement the getCanonicalizationPatterns method. The revision specifies the flag for linalg.fill_tensor and adds an empty FillTensorOp::getCanonicalizationPatterns implementation. This revision is a preparation step to replace linalg.fill by its OpDSL counterpart linalg.fill_tensor. The two are only functionally equivalent if both specify the same canonicalization patterns. The revision is thus a prerequisite for the linalg.fill replacement. Depends On D120725 Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D120726 | 4 年前 | |
[mlir][NFC] Update textual references of func to func.func in examples+python scripts The special case parsing of func operations is being removed. | 4 年前 |