[mlir] Only number the parent operation in Block::printAsOperand
authorRiver Riddle <riddleriver@gmail.com>
Sun, 5 Apr 2020 23:16:54 +0000 (16:16 -0700)
committerRiver Riddle <riddleriver@gmail.com>
Sun, 5 Apr 2020 23:17:13 +0000 (16:17 -0700)
commitc9da04d6604dda656bb2000e634e2e7764f486bf
treebe3b8558427dc30c3e30720feb3aacd17ca1996d
parent944db8a433f591e514219c12fa33b7e8fdd5e883
[mlir] Only number the parent operation in Block::printAsOperand

Summary: Blocks are numbered locally within a region, so numbering above the parent region is unnecessary.

Differential Revision: https://reviews.llvm.org/D77510
mlir/lib/IR/AsmPrinter.cpp