[PATCH] D30242: [ExecutionDepsFix] Don't make copies of LiveReg objects when collecting operands for soft instructions

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 09:12:25 PST 2017


craig.topper added a comment.

Can't use SmallVector of std::unique_ptr on the vector I changed because then the vector would become the owner for these objects, but they need to be owned by the LiveRegs member variable not his local vector.


https://reviews.llvm.org/D30242





More information about the llvm-commits mailing list