Fix pretty printing of linalg GenericOps when there are no inputs.
authorFederico Lebrón <flebron@google.com>
Tue, 20 Oct 2020 21:37:38 +0000 (14:37 -0700)
committerMaheshRavishankar <ravishankarm@google.com>
Tue, 20 Oct 2020 21:58:32 +0000 (14:58 -0700)
commit256492677d9591c97071ce1ee4b060a2680316c5
tree1fc7d2d2ba0d2e2de98b3680527937a547eb4065
parent2eac8ce820e6c9fe51bf93b55cb8a781b8b9fc7c
Fix pretty printing of linalg GenericOps when there are no inputs.

Differential Revision: https://reviews.llvm.org/D89825
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
mlir/test/Dialect/Linalg/roundtrip.mlir