NFC: Make the ModuleState field in the ModulePrinter optional.
authorRiver Riddle <riverriddle@google.com>
Wed, 21 Aug 2019 19:16:23 +0000 (12:16 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 21 Aug 2019 19:16:49 +0000 (12:16 -0700)
commit2e59b86541f61bbd7573c136b46b09599460876d
treecdd3662b93ebbd31c64947de74c0a1ee9c189f78
parentb9dc2e481818315f2f0d87455349f497f6118a4c
NFC: Make the ModuleState field in the ModulePrinter optional.

The ModuleState is only used for printing aliases, which is only done when printing the top-level module.

PiperOrigin-RevId: 264664138
mlir/lib/IR/AsmPrinter.cpp