[PATCH] D151686: [MachineScheduler] Disable default copy ctor and copy assignment operator for SchedBoundary

Bing Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 30 19:34:46 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG7e99d318fddb: [MachineScheduler] Disable default copy ctor and copy assignment operator for… (authored by yubing).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151686/new/

https://reviews.llvm.org/D151686

Files:
  llvm/include/llvm/CodeGen/MachineScheduler.h


Index: llvm/include/llvm/CodeGen/MachineScheduler.h
===================================================================
--- llvm/include/llvm/CodeGen/MachineScheduler.h
+++ llvm/include/llvm/CodeGen/MachineScheduler.h
@@ -722,7 +722,8 @@
     Available(ID, Name+".A"), Pending(ID << LogMaxQID, Name+".P") {
     reset();
   }
-
+  SchedBoundary &operator=(const SchedBoundary &other) = delete;
+  SchedBoundary(const SchedBoundary &other) = delete;
   ~SchedBoundary();
 
   void reset();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151686.526873.patch
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230531/55743ae2/attachment.bin>


More information about the llvm-commits mailing list