[llvm-dev] Proposal for O1/Og Optimization and Code Generation Pipeline

Eric Christopher via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 28 22:45:16 PDT 2019


> >
> >  - Dead code elimination (ADCE, BDCE)
>
>
> Regarding BDCE: The trivialized values might indeed be irrelevant to
> later calculations, but might harm the debugging experience? If BDCE
> only was applied at O2 and higher, that's likely not a huge loss.
> Regular DCE (meaning without the bit-tracking parts) is probably fine
> for O1.
>
>
>
Probably not. I'll see what the impact is for sure.


> > Register allocation
> >
> > The fast register allocator should be used for compilation speed.
>
>
> I'm not sure about this - we should understand the performance impact -
> it might be severe.
>
>
Totally agree. I think evaluating the tradeoffs is going to be key. I also
have really no strong opinions and am happy to go where the data takes us.

Thanks :)

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190328/b1aeeeb7/attachment.html>


More information about the llvm-dev mailing list