[LLVMdev] merging globals

Chris Lattner clattner at apple.com
Fri Oct 17 14:17:10 PDT 2008

On Oct 17, 2008, at 11:18 AM, danchr at gmail.com wrote:

> On 17/10/2008, Chris Lattner <clattner at apple.com> wrote:
>> Please no flag.  If we want to fix this problem, lets do it right.   
>> To
>> me this consists of some flag on GlobalVariable that says that it is
>> 'mergable' or something like that.
> Wouldn't it be slightly cleaner to mark the distinct objects in the
> LLVM intermediate representation?

That is what I'm suggesting.  Each llvm IR global variable would have  
its own flag.


More information about the llvm-dev mailing list