xcore emitEpilogue() losing "%R0<imp-use>"

Robert Lytton robert at xmos.com
Tue Jul 16 11:22:09 PDT 2013


I'll try it!
Thank you for the input.
Robert
________________________________________
From: Jakob Stoklund Olesen [stoklund at 2pi.dk]
Sent: 16 July 2013 19:07
To: Robert Lytton
Cc: llvm-commits at cs.uiuc.edu
Subject: Re: xcore emitEpilogue() losing "%R0<imp-use>"

On Jul 16, 2013, at 10:58 AM, Robert Lytton <robert at xmos.com> wrote:

> Hi Richard
>
> Here is a test & fix fora bug in the xcore emitEpilogue() that meant the return register was being lost viz:
>     RETSP_u6 2, %SP<imp-def>, %SP<imp-use>
> instead of:
>     RETSP_u6 2, %SP<imp-def>, %SP<imp-use>, %R0<imp-use>

Hi Robert,

Would BuildMI() ... .copyImplicitOps(...) work?

Thanks
/jakob





More information about the llvm-commits mailing list