diff --git a/mlir/lib/Transforms/Utils/DialectConversion.cpp b/mlir/lib/Transforms/Utils/DialectConversion.cpp index 1e689cd96ae71..0e577d2d39de3 100644 --- a/mlir/lib/Transforms/Utils/DialectConversion.cpp +++ b/mlir/lib/Transforms/Utils/DialectConversion.cpp @@ -1040,10 +1040,6 @@ struct ConversionPatternRewriterImpl : public RewriterBase::Listener { DenseMap unresolvedMaterializations; - /// A set of all N:1 materializations that were added to work around - /// incomplete 1:N support in the dialect conversion driver. - DenseSet nTo1TempMaterializations; - /// The current type converter, or nullptr if no type converter is currently /// active. const TypeConverter *currentTypeConverter = nullptr; @@ -1180,7 +1176,6 @@ void UnresolvedMaterializationRewrite::rollback() { if (!mappedValues.empty()) rewriterImpl.mapping.erase(mappedValues); rewriterImpl.unresolvedMaterializations.erase(getOperation()); - rewriterImpl.nTo1TempMaterializations.erase(getOperation()); op->erase(); }