Do not emit aliases when printing local form
authorJacques Pienaar <jpienaar@google.com>
Wed, 13 Nov 2019 22:21:16 +0000 (14:21 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 13 Nov 2019 22:21:49 +0000 (14:21 -0800)
commitd1c99e10d05508855b51ec391c8f1c4a7f4aa14b
tree2f3b9b2ddca75201c17fcfef68ea28bf7e68b5a9
parent8abda15b3f63b5b84ed8df285aaf6e473c8bad56
Do not emit aliases when printing local form

Expand local scope printing to skip printing aliases as aliases are printed out at the top of a module and may not be part of the output generated by local scope print.

PiperOrigin-RevId: 280278617
mlir/lib/IR/AsmPrinter.cpp
mlir/test/IR/print-op-local-scope.mlir [new file with mode: 0644]