KKazu HirataUse any_of (NFC)
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[MLIR] Clean up checks for alloc-like ops in analysis Clean up checks for alloc-like ops in analysis. Use the analysis utility to properly check for the desired kind of effects. The previous locality utility worked for all practical purposes but wasn't sound and was locally duplicate code. Instead, use mlir::hasSingleEffect. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D129439 | 3 年前 | |
Use any_of (NFC) | 3 年前 | |
[mlir] Leverage CMake interface libraries for mlir python This is already partially the case, but we can rely more heavily on interface libraries and how they are imported/exported in other to simplify the implementation of the mlir python functions in Cmake. This change also makes a couple of other changes: 1) Add a new CMake function which handles "pure" sources. This was done inline previously 2) Moves the headers associated with CAPI libraries to the libraries themselves. These were previously managed in a separate source target. They can now be added directly to the CAPI libraries using DECLARED_HEADERS. 3) Cleanup some dependencies that showed up as an issue during the refactor This is a big CMake change that should produce no impact on the build of mlir and on the produced *build tree*. However, this change fixes an issue with the *install tree* of mlir which was previously unusable for projects like torch-mlir because both the "pure" and "extension" targets were pointing to either the build or source trees. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D128230 | 3 年前 | |
[mlir] Use value instead of getValue (NFC) | 3 年前 | |
[mlir] Trim a huge number of unnecessary dependencies on the Func dialect The Func has a large number of legacy dependencies carried over from the old Standard dialect, which was pervasive and contained a large number of varied operations. With the split of the standard dialect and its demise, a lot of lingering dead dependencies have survived to the Func dialect. This commit removes a large majority of then, greatly reducing the dependence surface area of the Func dialect. | 4 年前 | |
[mlir] Use value instead of getValue (NFC) | 3 年前 |