[CodeGen] Disable default copy assignment operator for struct VectorInfo
authorBing1 Yu <bing1.yu@intel.com>
Wed, 7 Jun 2023 06:32:36 +0000 (14:32 +0800)
committerBing1 Yu <bing1.yu@intel.com>
Wed, 7 Jun 2023 06:32:56 +0000 (14:32 +0800)
commit2b09c50f69b79470d19e3621c4f526b9d81af306
treee180bf542baf62c299e05aec2b2031d09e30a608
parent466678b5202052dcd38fdfc3f764fb5d5de7c34b
[CodeGen] Disable default copy assignment operator for struct VectorInfo

struct VectorInfo manages resources such as dynamically allocated memory, it's generally a good practice to either implement a custom copy constructor or disable the default one

Reviewed By: kazu

Differential Revision: https://reviews.llvm.org/D152230
llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp