[TableGen] Fix support for ops whose names have a leading underscore
authorLei Zhang <antiagainst@google.com>
Mon, 15 Apr 2019 16:13:22 +0000 (09:13 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Thu, 18 Apr 2019 18:48:17 +0000 (11:48 -0700)
commit8bb8351710b91d1a89a774ba2c46d75f83c432e2
treec22a0afe2a540053b5d68ea7702da868684469e8
parent09c053bfd0a31143455aeab5285bba47328b0b5f
[TableGen] Fix support for ops whose names have a leading underscore

    TensorFlow ops have the convention to use leading underscore to denote
    internal ops.

--

PiperOrigin-RevId: 243627723
mlir/include/mlir/TableGen/Operator.h
mlir/lib/TableGen/Operator.cpp
mlir/test/mlir-tblgen/op-decl.td
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp