Skip to content

Commit fc3367d

Browse files
committed
[mlir] NFC: Move the state for managing SSA value names out of OperationPrinter and into a new class SSANameState.
Summary: This reduces the complexity of OperationPrinter and simplifies the code by quite a bit. The SSANameState is now held by ModuleState. This is in preparation for a future revision that molds ModuleState into something that can be used by users for caching the printer state, as well as for implementing printAsOperand style methods. Depends On D72292 Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D72293
1 parent 646ca7d commit fc3367d

File tree

1 file changed

+1204
-1143
lines changed

1 file changed

+1204
-1143
lines changed

0 commit comments

Comments
 (0)