[LLVMdev] Poor register allocation (constants causing spilling)

Robert Lougher rob.lougher at gmail.com
Wed Jul 15 15:31:09 PDT 2015


Hi Philip,

On 15 July 2015 at 05:52, Philip Reames <listmail at philipreames.com> wrote:
> Robert,
>
> Thanks for sharing your findings and analysis.  For the moment, I'll leave
> the technical discussion for Quentin and those more familiar with the
> regalloc code, but I wanted to express interest in getting this fixed and
> say thanks.
>
> Has there been a bug filed for this yet?
>

I have just created a bug for it:

https://llvm.org/bugs/show_bug.cgi?id=24139

I wasn't sure how much of my analysis to put in it.  In the end I put
everything in (bar the conclusion) as it might be useful.  I'm working
on a patch for the spill weight (I'll reply to Quentin about it).

Thanks,
Rob.

> Philip
>



More information about the llvm-dev mailing list