SSlava Zakharin[mlir] Fixed ordering of pass statistics.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir] Refactor pass crash reproducer generation to be an assembly resource We currently generate reproducer configurations using a comment placed at the top of the generated .mlir file. This is kind of hacky given that comments have no semantic context in the source file and can easily be dropped. This strategy also wouldn't work if/when we have a bitcode format. This commit switches to using an external assembly resource, which is verifiable/can work with a hypothetical bitcode naturally/and removes the awkward processing from mlir-opt for splicing comments and re-applying command line options. With the removal of command line munging, this opens up new possibilities for executing reproducers in memory. Differential Revision: https://reviews.llvm.org/D126447 | 3 年前 | |
[mlir] Refactor pass crash reproducer generation to be an assembly resource We currently generate reproducer configurations using a comment placed at the top of the generated .mlir file. This is kind of hacky given that comments have no semantic context in the source file and can easily be dropped. This strategy also wouldn't work if/when we have a bitcode format. This commit switches to using an external assembly resource, which is verifiable/can work with a hypothetical bitcode naturally/and removes the awkward processing from mlir-opt for splicing comments and re-applying command line options. With the removal of command line munging, this opens up new possibilities for executing reproducers in memory. Differential Revision: https://reviews.llvm.org/D126447 | 3 年前 | |
[mlir][NFC] Update textual references of func to func.func in Pass/Target tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir][NFC] Update textual references of func to func.func in Pass/Target tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir][NFC] Update textual references of func to func.func in Pass/Target tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir:Pass] Add support for op-agnostic pass managers This commit refactors the current pass manager support to allow for operation agnostic pass managers. This allows for a series of passes to be executed on any viable pass manager root operation, instead of one specific operation type. Op-agnostic/generic pass managers only allow for adding op-agnostic passes. These types of pass managers are extremely useful when constructing pass pipelines that can apply to many different types of operations, e.g., the default inliner simplification pipeline. With the advent of interface/trait passes, this support can be used to define FunctionOpInterface pass managers, or other pass managers that effectively operate on specific interfaces/traits/etc (see #52916 for an example). Differential Revision: https://reviews.llvm.org/D123536 | 4 年前 | |
[mlir][NFC] Update textual references of func to func.func in Pass/Target tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir][NFC] Update textual references of func to func.func in Pass/Target tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir][NFC] Update textual references of func to func.func in Pass/Target tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir][NFC] Update textual references of func to func.func in Pass/Target tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir] Set the namespace of the BuiltinDialect to 'builtin' Historically the builtin dialect has had an empty namespace. This has unfortunately created a very awkward situation, where many utilities either have to special case the empty namespace, or just don't work at all right now. This revision adds a namespace to the builtin dialect, and starts to cleanup some of the utilities to no longer handle empty namespaces. For now, the assembly form of builtin operations does not require the builtin. prefix. (This should likely be re-evaluated though) Differential Revision: https://reviews.llvm.org/D105149 | 4 年前 | |
Example: // -----// IR Dump Before LowerLinalgMicrokernels (iree-vmvx-lower-linalg-microkernels) //----- // I've been meaning to suggest this for a long time, and I think the only reason we don't have it is because we didn't used to have the getArgument() handy when printing these comments. When debugging or putting a pipeline together based on such dumps, I often find myself grepping for the argument name of the pass (which is often related but not universally). | 3 年前 | |
[mlir][NFC] Update textual references of func to func.func in Pass/Target tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir] Allow for using OpPassManager in pass options This significantly simplifies the boilerplate necessary for passes to define nested pass pipelines. Differential Revision: https://reviews.llvm.org/D122880 | 4 年前 | |
[mlir] Fix pipeline-parsing.mlir on windows We shouldn't be making assumptions about the result of llvm::getTypeName, which may have different results for anonymous namespaces depending on the platform. | 4 年前 | |
[mlir] Fixed ordering of pass statistics. The change makes sure the plain C string statistics names are properly ordered. Differential Revision: https://reviews.llvm.org/D130122 | 3 年前 | |
Example: // -----// IR Dump Before LowerLinalgMicrokernels (iree-vmvx-lower-linalg-microkernels) //----- // I've been meaning to suggest this for a long time, and I think the only reason we don't have it is because we didn't used to have the getArgument() handy when printing these comments. When debugging or putting a pipeline together based on such dumps, I often find myself grepping for the argument name of the pass (which is often related but not universally). | 3 年前 |