Skip to content

Commit e4812b2

Browse files
committed
Fix TypeIDs of test options passes A and B
1 parent de2e476 commit e4812b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/test/lib/Pass/TestPassManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ struct TestOptionsSuperPass
135135

136136
struct TestOptionsPassA
137137
: public PassWrapper<TestOptionsPassA, OperationPass<func::FuncOp>> {
138-
MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestOptionsPass)
138+
MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestOptionsPassA)
139139

140140
struct Options : public PassPipelineOptions<Options> {
141141
Option<bool> foo{*this, "foo", llvm::cl::desc("Example boolean option")};
@@ -156,7 +156,7 @@ struct TestOptionsPassA
156156

157157
struct TestOptionsPassB
158158
: public PassWrapper<TestOptionsPassB, OperationPass<func::FuncOp>> {
159-
MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestOptionsPass)
159+
MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestOptionsPassB)
160160

161161
struct Options : public PassPipelineOptions<Options> {
162162
Option<bool> bar{*this, "bar", llvm::cl::desc("Example boolean option")};

0 commit comments

Comments
 (0)