[mlir][OpFormatGen] Fix incorrect kind used for RegionsDirective
authorRiver Riddle <riddleriver@gmail.com>
Thu, 21 Jan 2021 00:47:00 +0000 (16:47 -0800)
committerRiver Riddle <riddleriver@gmail.com>
Thu, 21 Jan 2021 00:50:59 +0000 (16:50 -0800)
commit825c2b4a41c7df935dc12fdfab9879b98c744e1e
tree54a1f42107cbf52df038813b0af569fe641b0d15
parent8a7ff7301a6ce50f2adf52959c04f37a00c5a631
[mlir][OpFormatGen] Fix incorrect kind used for RegionsDirective

I attempted to write a test case for this, but the situations in which the kind is used for RegionDirective and ResultsDirective have zero overlap; meaning that there isn't a situation in which sharing the kind creates a conflict.

Differential Revision: https://reviews.llvm.org/D94988
mlir/tools/mlir-tblgen/OpFormatGen.cpp