[PATCH] D151686: [MachineScheduler] Disable default copy ctor and copy assignment operator for SchedBoundary
Bing Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 29 23:45:19 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/D151686
Files:
llvm/include/llvm/CodeGen/MachineScheduler.h
Index: llvm/include/llvm/CodeGen/MachineScheduler.h
===================================================================
--- llvm/include/llvm/CodeGen/MachineScheduler.h
+++ llvm/include/llvm/CodeGen/MachineScheduler.h
@@ -722,7 +722,8 @@
Available(ID, Name+".A"), Pending(ID << LogMaxQID, Name+".P") {
reset();
}
-
+ SchedBoundary &operator=(const SchedBoundary &other) = delete;
+ SchedBoundary(const SchedBoundary &other) = delete;
~SchedBoundary();
void reset();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151686.526523.patch
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230530/9b26473b/attachment.bin>
More information about the llvm-commits
mailing list