forked from OSchip/llvm-project
[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:
parent
8a7ff7301a
commit
825c2b4a41
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue