[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 23:14:38 PDT 2023


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

Repository:
  rG LLVM Github Monorepo

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

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.526921.patch
Type: text/x-patch
Size: 593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230531/46e3f50c/attachment.bin>


More information about the llvm-commits mailing list