[mlir] Put back virtual ~ConversionTarget(), some users started relying on it
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 29 Jul 2021 09:10:07 +0000 (11:10 +0200)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 29 Jul 2021 09:10:07 +0000 (11:10 +0200)
mlir/include/mlir/Transforms/DialectConversion.h

index c9e9f67..7354b55 100644 (file)
@@ -622,6 +622,7 @@ public:
   using DynamicLegalityCallbackFn = std::function<bool(Operation *)>;
 
   ConversionTarget(MLIRContext &ctx) : ctx(ctx) {}
+  virtual ~ConversionTarget() = default;
 
   //===--------------------------------------------------------------------===//
   // Legality Registration