diff --git a/llvm/lib/CodeGen/AggressiveAntiDepBreaker.h b/llvm/lib/CodeGen/AggressiveAntiDepBreaker.h --- a/llvm/lib/CodeGen/AggressiveAntiDepBreaker.h +++ b/llvm/lib/CodeGen/AggressiveAntiDepBreaker.h @@ -132,6 +132,9 @@ AggressiveAntiDepBreaker(MachineFunction &MFi, const RegisterClassInfo &RCI, TargetSubtargetInfo::RegClassVector& CriticalPathRCs); + AggressiveAntiDepBreaker & + operator=(const AggressiveAntiDepBreaker &other) = delete; + AggressiveAntiDepBreaker(const AggressiveAntiDepBreaker &other) = delete; ~AggressiveAntiDepBreaker() override; /// Initialize anti-dep breaking for a new basic block.