[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
Mon Jun 5 23:33:18 PDT 2023


yubing created this revision.
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/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.528700.patch
Type: text/x-patch
Size: 621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230606/85f302cd/attachment.bin>


More information about the llvm-commits mailing list