[LLVMdev] [Propose] Add address-taken bit to GlobalVariable for disambiguation purpose
Nadav Rotem
nrotem at apple.com
Wed Oct 30 09:20:59 PDT 2013
On Oct 29, 2013, at 4:39 PM, Shuxin Yang <shuxin.llvm at gmail.com> wrote:
> That said, I don't think it is still inexpensive if we re-analyze the
> addr-taken again and again *ON THE FLY". It is really difficult to
> predict compile-time impact. You never know how many global variables
> in a program, and you never know how extensive they are used.
> Poorly-written program tends to have lots of global-vars.
Actually, it is not that difficult to predict the effect on compile time. All you need to do is implement the analysis “on the fly” and measure the compile time. Can you provide this data ? Compile time measurements can help us make a decision.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131030/7a4d90c4/attachment.html>
More information about the llvm-dev
mailing list