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

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue Jul 16 11:07:37 PDT 2013


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