Add sanity check in MLIR ODS to catch case where two results have the same name
authorMehdi Amini <joker.eph@gmail.com>
Wed, 8 Sep 2021 18:06:47 +0000 (18:06 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Wed, 8 Sep 2021 23:38:50 +0000 (23:38 +0000)
commit4eaaf053945986f0ea1af6c914e92893cd5bb66a
tree2c407cee1f4ea580f20b78b47993a761447abde0
parent717ed1c31052c89f3e26192342eed5ef6e8d0a8e
Add sanity check in MLIR ODS to catch case where two results have the same name

This is making a tablegen crash with a more friendly error.

Differential Revision: https://reviews.llvm.org/D109456
mlir/test/mlir-tblgen/op-error.td
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp