svadev AT lists.siebelschool.illinois.edu
Subject: Svadev mailing list
List archive
- From: Arushi Aggarwal <arushi987 AT gmail.com>
- To: svadev AT cs.uiuc.edu
- Subject: Re: [svadev] Convert Unsafe Allocas
- Date: Wed, 11 May 2011 22:37:40 -0500
- List-archive: <http://lists.cs.uiuc.edu/pipermail/svadev>
- List-id: <svadev.cs.uiuc.edu>
The null value initialization code, also seems to not take care of the
array size that could be inbuilt into an alloca inst.
Arushi
On Wed, May 11, 2011 at 10:34 PM, Arushi Aggarwal
<arushi987 AT gmail.com>
wrote:
> ConvertUnsafeAllocas/AllocaWithAggregateTypes.cpp
>
> -> seems to create a declaration of memsetF, to I guess be able to use
> that to do the initalization.
> -> But really uses a store of a Null Value for a given type to do the
> intialization.
>
> Is there any reason to prefer one over the other.
>
> Also, if we prefer the initialization, possibly the dead code could be
> removed.
>
> Arushi
>
- [svadev] Convert Unsafe Allocas, Arushi Aggarwal, 05/11/2011
- Re: [svadev] Convert Unsafe Allocas, Arushi Aggarwal, 05/11/2011
Archive powered by MHonArc 2.6.16.