[Mlir-commits] [mlir] 0df963e - [MLIR][ClonePass] Attempt fix for anonymous pass name

William S. Moses llvmlistbot at llvm.org
Fri Apr 15 12:14:30 PDT 2022


Author: William S. Moses
Date: 2022-04-15T15:14:20-04:00
New Revision: 0df963e8170d7e08584a07672ba14e1d650a71ba

URL: https://github.com/llvm/llvm-project/commit/0df963e8170d7e08584a07672ba14e1d650a71ba
DIFF: https://github.com/llvm/llvm-project/commit/0df963e8170d7e08584a07672ba14e1d650a71ba.diff

LOG: [MLIR][ClonePass] Attempt fix for anonymous pass name

Added: 
    

Modified: 
    mlir/test/lib/IR/TestClone.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/test/lib/IR/TestClone.cpp b/mlir/test/lib/IR/TestClone.cpp
index a978df54c1e82..61c2a68d591df 100644
--- a/mlir/test/lib/IR/TestClone.cpp
+++ b/mlir/test/lib/IR/TestClone.cpp
@@ -19,6 +19,7 @@ namespace {
 /// takes the result of the first operation return as an input.
 struct ClonePass
     : public PassWrapper<ClonePass, InterfacePass<FunctionOpInterface>> {
+  MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ClonePass)
   StringRef getArgument() const final { return "test-clone"; }
   StringRef getDescription() const final { return "Test clone of op"; }
   void runOnOperation() override {


        


More information about the Mlir-commits mailing list