This allows for users to cache printer state, which can be costly to recompute. Each of the IR print methods gain a new overload taking this new state class.
Depends On D72293
Paths
| Differential D72294
[mlir] Refactor ModuleState into AsmState and expose it to users. ClosedPublic Authored by rriddle on Jan 6 2020, 10:38 AM.
Details Summary This allows for users to cache printer state, which can be costly to recompute. Each of the IR print methods gain a new overload taking this new state class. Depends On D72293
Diff Detail
Event TimelineComment Actions Looks good on first walk through
Comment Actions Unit tests: pass. 61744 tests passed, 0 failed and 780 were skipped. clang-tidy: unknown. clang-format: pass. Build artifacts: diff.json, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml This revision is now accepted and ready to land.Jan 14 2020, 8:21 AM Closed by commit rGfa9dd8336bbd: [mlir] Refactor ModuleState into AsmState and expose it to users. (authored by rriddle). · Explain WhyJan 14 2020, 3:33 PM This revision was automatically updated to reflect the committed changes. Comment Actions Unit tests: pass. 61804 tests passed, 0 failed and 781 were skipped. clang-tidy: unknown. clang-format: pass. Build artifacts: diff.json, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
Revision Contents
Diff 238125 mlir/include/mlir/IR/AsmState.h
mlir/include/mlir/IR/Block.h
mlir/include/mlir/IR/Module.h
mlir/include/mlir/IR/OpDefinition.h
mlir/include/mlir/IR/Operation.h
mlir/include/mlir/IR/Value.h
mlir/lib/IR/AsmPrinter.cpp
|
File description?