[PATCH] D14346: Reduce size of MCRelaxableFragment

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 9 07:36:56 PST 2015


> getSubtargetCopy is called here because STI is a unique_ptr and gets destructed when it goes out of scope. We don't need a copy here, but we need a subtarget object that is kept alive until it is used.

Oh, OK.

LGTM with the patch split in two.

Cheers,
Rafael


More information about the llvm-commits mailing list