[LLVMdev] [RFC] AArch64: Should we disable GlobalMerge?

Ahmed Bougacha ahmed.bougacha at gmail.com
Fri Feb 27 16:06:29 PST 2015


On Fri, Feb 27, 2015 at 3:51 PM, Eric Christopher <echristo at gmail.com> wrote:
>
>
> On Fri, Feb 27, 2015 at 3:48 PM Ahmed Bougacha <ahmed.bougacha at gmail.com>
> wrote:
>>
>> On Fri, Feb 27, 2015 at 3:13 PM, Quentin Colombet <qcolombet at apple.com>
>> wrote:
>> > To be precise, GlobalMerge is registered as a pre-ISel pass, but still
>> > it runs very early in the pipeline, because all its work in done during
>> > doInitialization… Pretty broken, I know.
>>
>> Oh god, I forgot about this... it actually runs pretty early,  not
>> sure when exactly..
>>
>
> During pass setup basically.

Yeah, wasn't sure where that was.  Looking at LTO, we do run some
optimizations before setting up the CodeGen pipeline, but there's much
more after that..

> And yeah, the pass itself needs to be turned into a real Module level pass.
> I'm also OK killing if someone is rewriting it :)

The debug info problems seem pretty scary, but I'll try to have a second look!

-Ahmed

> -eric
>
>>
>> -Ahmed
>>
>> > -Quentin
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list