GPRPair issue on LLVMLinux side

Tinti viniciustinti at gmail.com
Sun Aug 18 11:33:49 PDT 2013


On Sun, Aug 18, 2013 at 3:24 PM, Tim Northover <t.p.northover at gmail.com>wrote:

> > I think I've spotted the problem in the CodeGen for
> > set_normalized_timespec: the first "adds" is using an undefined
> > register r6 (attaching .ll file for the curious, though I'm intending
> > to get this fixed).
>
> It turned out to be a latent bug where we were untying operands while
> converting them to GPRPair. The function I picked on
> ("set_normalized_timespec") contained asm("" : "+rm"(var)) which broke
> the live-range of "var": it was "r2,r3" going in but "r6,r7" coming
> out. Not good if there's no assembly to actually do that move (or if
> the assembly that *is* present expects a single set of registers).
>
> Should be fixed in r188643.
>
> Tim.
>

This fix LLVMLinux side on vexpress. I will try on other targets too.

Regards.

-- 
Simplicity is the ultimate sophistication
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130818/b1e575ce/attachment.html>


More information about the llvm-commits mailing list