[PATCH] D152231: [CodeGen] Disable default copy ctor and copy assignment operator for class Array
Aditya Nandakumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 15 13:53:22 PDT 2023
aditya_nandakumar added a comment.
We actually have some out of tree code that requires us to dynamically grow LiveRegMatrix (for compile time optimizations for our backend) and we rely on these copy constructors/assignment operators to resize the Matrix. Like David mentioned above, what's the motivation here? It should be perfectly fine to update pointers and size that's not being owned by this class?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152231/new/
https://reviews.llvm.org/D152231
More information about the llvm-commits
mailing list