[PATCH] D11363: Allow merging of immediates within a basic block for code size savings and reduced footprint.

Quentin Colombet qcolombet at apple.com
Tue Jul 28 13:05:59 PDT 2015


qcolombet added a comment.

Hi Zia,

Have you looked into the ConstantHoisting pass that performs this kind of constant sharing at a function level?

I do not know if that would be the right solution for the given problem, but it looks to me like this is redundant with that pass and less powerful, though the cost model is probably better.

Could you double check?

Thanks,
-Quentin


http://reviews.llvm.org/D11363







More information about the llvm-commits mailing list