[llvm] 9340596 - [CodeGen] Disable default copy ctor and copy assignment operator for VLIWPacketizerList
Bing1 Yu via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 23:31:21 PDT 2023
Author: Bing1 Yu
Date: 2023-06-07T14:31:13+08:00
New Revision: 93405962f98cbf75c79f54f0d75d82109737f430
URL: https://github.com/llvm/llvm-project/commit/93405962f98cbf75c79f54f0d75d82109737f430
DIFF: https://github.com/llvm/llvm-project/commit/93405962f98cbf75c79f54f0d75d82109737f430.diff
LOG: [CodeGen] Disable default copy ctor and copy assignment operator for VLIWPacketizerList
Reviewed By: pengfei
Differential Revision: https://reviews.llvm.org/D152232
Added:
Modified:
llvm/include/llvm/CodeGen/DFAPacketizer.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/DFAPacketizer.h b/llvm/include/llvm/CodeGen/DFAPacketizer.h
index 2d9f67158a960..a7a2dfdf09506 100644
--- a/llvm/include/llvm/CodeGen/DFAPacketizer.h
+++ b/llvm/include/llvm/CodeGen/DFAPacketizer.h
@@ -152,7 +152,8 @@ class VLIWPacketizerList {
// 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.
More information about the llvm-commits
mailing list