Skip to content

Commit 0df963e

Browse files
committed
[MLIR][ClonePass] Attempt fix for anonymous pass name
1 parent 4802edd commit 0df963e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/test/lib/IR/TestClone.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace {
1919
/// takes the result of the first operation return as an input.
2020
struct ClonePass
2121
: public PassWrapper<ClonePass, InterfacePass<FunctionOpInterface>> {
22+
MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ClonePass)
2223
StringRef getArgument() const final { return "test-clone"; }
2324
StringRef getDescription() const final { return "Test clone of op"; }
2425
void runOnOperation() override {

0 commit comments

Comments
 (0)