[mlir] Print types to the OpAsmPrinter instead of the raw_ostream.
authorRiver Riddle <riddleriver@gmail.com>
Tue, 4 Feb 2020 20:17:14 +0000 (12:17 -0800)
committerRiver Riddle <riddleriver@gmail.com>
Tue, 4 Feb 2020 20:17:14 +0000 (12:17 -0800)
commitf0fb09c33e390db16e47cc03a01d0e6f4578e0a7
tree779c702233102749754a079444b8e5b2d365f038
parent7f37a8026f6cfe51479309733be642102428fee4
[mlir] Print types to the OpAsmPrinter instead of the raw_ostream.

This allows for reusing the internal state of the printer, which is more
efficient and also allows for using type aliases
mlir/include/mlir/IR/OpImplementation.h