[llvm] 9b9848f - [CodeGen] Disable default copy ctor and copy assignment operator for AggressiveAntiDepBreaker

Bing1 Yu via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 8 00:52:33 PDT 2023


Author: Bing1 Yu
Date: 2023-06-08T15:52:25+08:00
New Revision: 9b9848fb4d04fb8d341c5035595c1531b7bd36e0

URL: https://github.com/llvm/llvm-project/commit/9b9848fb4d04fb8d341c5035595c1531b7bd36e0
DIFF: https://github.com/llvm/llvm-project/commit/9b9848fb4d04fb8d341c5035595c1531b7bd36e0.diff

LOG: [CodeGen] Disable default copy ctor and copy assignment operator for AggressiveAntiDepBreaker

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D152233

Added: 
    

Modified: 
    llvm/lib/CodeGen/AggressiveAntiDepBreaker.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/AggressiveAntiDepBreaker.h b/llvm/lib/CodeGen/AggressiveAntiDepBreaker.h
index 419cb76269453..cece217e645cd 100644
--- a/llvm/lib/CodeGen/AggressiveAntiDepBreaker.h
+++ b/llvm/lib/CodeGen/AggressiveAntiDepBreaker.h
@@ -132,6 +132,9 @@ class LLVM_LIBRARY_VISIBILITY AggressiveAntiDepState {
     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.


        


More information about the llvm-commits mailing list