Support 0-d tensor type attributes
authorFeng Liu <fengliuai@google.com>
Mon, 1 Apr 2019 17:01:47 +0000 (10:01 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 1 Apr 2019 17:59:59 +0000 (10:59 -0700)
commit191aaa82efa842ce6169e8f7fcf172c4bacb6b32
treec25190a3a4bff57eaedd6ed17f6144f34b348f5a
parenta0606ca717a75c5fba9a8a79bb5d9972367b9766
Support 0-d tensor type attributes

    This CL fixes the parser and printer to support the 0-d tensor type attributes.

--

PiperOrigin-RevId: 241345329
mlir/lib/IR/AsmPrinter.cpp
mlir/lib/Parser/Parser.cpp
mlir/test/IR/invalid.mlir
mlir/test/IR/parser.mlir