[PATCH] D152230: [CodeGen] Disable default copy assignment operator for struct VectorInfo

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


This revision was automatically updated to reflect the committed changes.
Closed by commit rG2b09c50f69b7: [CodeGen] Disable default copy assignment operator for struct VectorInfo (authored by yubing).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152230

Files:
  llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp


Index: llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
===================================================================
--- llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
+++ llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
@@ -678,6 +678,8 @@
     EI = new ElementInfo[VTy->getNumElements()];
   }
 
+  VectorInfo &operator=(const VectorInfo &other) = delete;
+
   virtual ~VectorInfo() { delete[] EI; }
 
   unsigned getDimension() const { return VTy->getNumElements(); }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152230.529183.patch
Type: text/x-patch
Size: 477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230607/4ed44b4f/attachment.bin>


More information about the llvm-commits mailing list