xcore emitEpilogue() losing "%R0<imp-use>"
    Jakob Stoklund Olesen 
    stoklund at 2pi.dk
       
    Tue Jul 16 11:33:26 PDT 2013
    
    
  
On Jul 16, 2013, at 11:30 AM, Robert Lytton <robert at xmos.com> wrote:
> Hi Jakob,
> 
> The emitEpilogue now produces:
>        RETSP_u6 2, %SP<imp-def>, %SP<imp-use>, %SP<imp-def>, %SP<imp-use>, %R0<imp-use>
I figured it might.
> I only need to add any additional variadic operands, hence the use of:
>        for (unsigned i = 3, e = MBBI->getNumOperands(); i < e; ++i)
> 
> Is there a better way to do this?
No, your approach is fine.
Thanks,
/jakob
    
    
More information about the llvm-commits
mailing list