NFC: Simplify named attribute in TableGen generators
authorSmit Hinsu <hinsu@google.com>
Fri, 12 Apr 2019 17:24:59 +0000 (10:24 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Thu, 18 Apr 2019 18:47:52 +0000 (11:47 -0700)
commit0047ef97650310bf17390eda12ab5911e95bd9be
treea2354ad3e67a307c4769f4b1d444776caab83164
parent2dc6d205acb367fc0c1f3ed5172da00a438d50c1
NFC: Simplify named attribute in TableGen generators

    Now, op attribute names don't have '.' in their names so the special handling for it
    can be removed. Attributes for functions still have dialect prefix with '.' as separator but TableGen does not deal with functions.

    TESTED with existing unit tests

--

PiperOrigin-RevId: 243287462
mlir/include/mlir/TableGen/Argument.h
mlir/lib/TableGen/Argument.cpp
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
mlir/tools/mlir-tblgen/OpDocGen.cpp
mlir/tools/mlir-tblgen/RewriterGen.cpp