[PATCH] D151699: [VLIWMachineScheduler] Disable default copy ctor and copy assignment operator for VLIWSchedBoundary

Bing Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 30 02:26:06 PDT 2023


yubing created this revision.
Herald added subscribers: javed.absar, MatzeB.
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/D151699

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


Index: llvm/include/llvm/CodeGen/VLIWMachineScheduler.h
===================================================================
--- llvm/include/llvm/CodeGen/VLIWMachineScheduler.h
+++ llvm/include/llvm/CodeGen/VLIWMachineScheduler.h
@@ -151,6 +151,8 @@
           Pending(ID << ConvergingVLIWScheduler::LogMaxQID, Name + ".P") {}
 
     ~VLIWSchedBoundary();
+    VLIWSchedBoundary &operator=(const VLIWSchedBoundary &other) = delete;
+    VLIWSchedBoundary(const VLIWSchedBoundary &other) = delete;
 
     void init(VLIWMachineScheduler *dag, const TargetSchedModel *smodel) {
       DAG = dag;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151699.526555.patch
Type: text/x-patch
Size: 593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230530/44e25d48/attachment.bin>


More information about the llvm-commits mailing list