On Wed, Oct 17, 2012 at 07:41:52PM +0300, Pekka Enberg wrote: > On 10/17/12 2:48 AM, Pekka Enberg wrote: > >> Is LLVM able to optimize away the allocas and use registers instead in > >> the emitted code? > > On Wed, Oct 17, 2012 at 9:53 AM, Xi Wang <xi.wang@xxxxxxxxx> wrote: > > Yes. See the last part of my previous email, no load/store/alloca after > > LLVM's -mem2reg pass. > > Right. Jonathan, does Xi's suggestion sound reasonable to you? I'd > certainly prefer that over instruction reordering. It certainly does. Thanks, Xi! Jonathan -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html