Introduce support for parsing pretty dialect types, currently with a very
authorChris Lattner <clattner@google.com>
Sat, 6 Apr 2019 02:36:42 +0000 (19:36 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 8 Apr 2019 01:21:02 +0000 (18:21 -0700)
commit3f93d93367c15082d11fe4573af80cc3c4f3da11
treee723b24d9a6e965a56273c1324fe215e6b59de92
parent637eb2fc76df38d04be45012b7ee18643b809ecc
Introduce support for parsing pretty dialect types, currently with a very
    restricted grammar.  This will make certain common types much easier to read.

    This is part tensorflow/mlir#1 of 2, which allows us to accept the new syntax.  Part 2 will
    change the asmprinter to automatically use it when appropriate, which will
    require updating a bunch of tests.

    This is motivated by the EuroLLVM tutorial and cleaning up the LLVM dialect aesthetics a bit more.

--

PiperOrigin-RevId: 242234821
mlir/g3doc/LangRef.md
mlir/lib/Parser/Parser.cpp
mlir/test/IR/invalid.mlir
mlir/test/IR/parser.mlir