[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
This commit is contained in:
River Riddle 2021-01-20 16:47:00 -08:00
parent 8a7ff7301a
commit 825c2b4a41
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ using OperandsDirective = DirectiveElement<Element::Kind::OperandsDirective>;
/// This class represents the `regions` directive. This directive represents
/// all of the regions of an operation.
using RegionsDirective = DirectiveElement<Element::Kind::ResultsDirective>;
using RegionsDirective = DirectiveElement<Element::Kind::RegionsDirective>;
/// This class represents the `results` directive. This directive represents
/// all of the results of an operation.