[PATCH] D152232: [CodeGen] Disable default copy ctor and copy assignment operator for VLIWPacketizerList

Bing Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 23:31:32 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG93405962f98c: [CodeGen] 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/D152232/new/

https://reviews.llvm.org/D152232

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


Index: llvm/include/llvm/CodeGen/DFAPacketizer.h
===================================================================
--- llvm/include/llvm/CodeGen/DFAPacketizer.h
+++ llvm/include/llvm/CodeGen/DFAPacketizer.h
@@ -152,7 +152,8 @@
   // The AAResults parameter can be nullptr.
   VLIWPacketizerList(MachineFunction &MF, MachineLoopInfo &MLI,
                      AAResults *AA);
-
+  VLIWPacketizerList &operator=(const VLIWPacketizerList &other) = delete;
+  VLIWPacketizerList(const VLIWPacketizerList &other) = delete;
   virtual ~VLIWPacketizerList();
 
   // Implement this API in the backend to bundle instructions.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152232.529181.patch
Type: text/x-patch
Size: 621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230607/b6a8ad48/attachment.bin>


More information about the llvm-commits mailing list