Add option print functions with the generic form.
authorJacques Pienaar <jpienaar@google.com>
Mon, 4 Feb 2019 21:01:06 +0000 (13:01 -0800)
committerjpienaar <jpienaar@google.com>
Fri, 29 Mar 2019 23:11:38 +0000 (16:11 -0700)
commit2afd655622013fb6fbd7ac0cda2337245735c576
treeac978f4a7c4ef492df49662138a0bfa752e3a2ce
parent5e88422f1db0fe623b1dffbca7a0d8289bbd71f2
Add option print functions with the generic form.

The generic form may be more desirable even when there is a custom form
specified so add option to enable emitting it. This also exposes a current bug
when round tripping constant with function attribute.

PiperOrigin-RevId: 232350712
mlir/lib/IR/AsmPrinter.cpp
mlir/test/IR/core-ops.mlir