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

Bing Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 23:40:41 PDT 2023


yubing created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
yubing requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152233

Files:
  llvm/lib/CodeGen/AggressiveAntiDepBreaker.h


Index: llvm/lib/CodeGen/AggressiveAntiDepBreaker.h
===================================================================
--- llvm/lib/CodeGen/AggressiveAntiDepBreaker.h
+++ 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152233.528702.patch
Type: text/x-patch
Size: 707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230606/1e91561f/attachment.bin>


More information about the llvm-commits mailing list