[llvm-dev] XMMs unused

Dangeti Tharun kumar via llvm-dev llvm-dev at lists.llvm.org
Fri Nov 2 05:44:42 PDT 2018


On Fri, Nov 2, 2018 at 3:31 PM Anton Korobeynikov <anton at korobeynikov.info>
wrote:

> > Yes, I am compiling for linux system.
> > So the RA will not consider assigning a scratch register to a live range
> crossing function call, though it may reduce spills?
> Well, it has to spill the register – otherwise it could be clobbered by a
> call.

May be, I haven't conveyed it properly. What I mean was, does the RA make
an analysis of spills incurred by *using a scratch register and
spilled/restored across the call site* and *by not using the scratch
register at all *?

>
> --
> With best regards, Anton Korobeynikov
> Department of Statistical Modelling, Saint Petersburg State University
>


-- 
Regards,
DTharun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181102/df25f58a/attachment.html>


More information about the llvm-dev mailing list