diff --git a/mlir/lib/Dialect/GPU/Transforms/SerializeToBlob.cpp b/mlir/lib/Dialect/GPU/Transforms/SerializeToBlob.cpp --- a/mlir/lib/Dialect/GPU/Transforms/SerializeToBlob.cpp +++ b/mlir/lib/Dialect/GPU/Transforms/SerializeToBlob.cpp @@ -27,13 +27,7 @@ : OperationPass(passID) {} gpu::SerializeToBlobPass::SerializeToBlobPass(const SerializeToBlobPass &other) - : OperationPass(other) { - // Pass::Option has no copy constructor, copy them manually. - triple = other.triple; - chip = other.chip; - features = other.features; - gpuBinaryAnnotation = other.gpuBinaryAnnotation; -} + : OperationPass(other) {} static std::string translateToISA(llvm::Module &llvmModule, llvm::TargetMachine &targetMachine) {