[llvm-commits] [ARM] Scheduler FixedFrame object vs byval formal parameters

Sergei Larin slarin at codeaurora.org
Thu Oct 4 14:04:12 PDT 2012


Stepan, 

  ...also see r164553.

Sergei

---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation

> -----Original Message-----
> From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-
> bounces at cs.uiuc.edu] On Behalf Of Bill Schmidt
> Sent: Thursday, October 04, 2012 2:46 PM
> To: Stepan Dyatkovskiy
> Cc: llvm-commits
> Subject: Re: [llvm-commits] [ARM] Scheduler FixedFrame object vs byval
> formal parameters
> 
> On Thu, 2012-10-04 at 22:30 +0400, Stepan Dyatkovskiy wrote:
> > Hi all!
> >
> > Small but very important issue is, that
> > SchedulerDAGInstrs::buildSchedGraph ignores dependencies between
> > FixedStack objects and byval parameters. So loading byval parameters
> > from stack may be inserted *before* it will stored, since these
> > operations are treated as independent.
> >
> > Frankly right now, I couldn't found better solution than make byval
> > arguments dependent from all fixed-frame objects. Perhaps guys, you
> > have any ideas?
> 
> Hi Stepan,
> 
> You should look at the thread from September 29 with subject
> 
> Re: [llvm-commits] byval arg lowering (was: [PATCH, RFC] Fix PR13891
> (AliasChain not properly maintained in
> ScheduleDAGInstrs::buildSchedGraph()))
> 
> Both MIPS and PowerPC have hit similar problems, and we were able to
> fix this by providing some aliasing information on the stores of the
> byVal arguments.  I hope this will be possible for you as well!
> 
> Thanks,
> Bill
> 
> >
> > Please find patch in attachment.
> >
> > -Stepan.
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 
> --
> Bill Schmidt, Ph.D.
> IBM Advance Toolchain for PowerLinux
> IBM Linux Technology Center
> wschmidt at linux.vnet.ibm.com
> wschmidt at us.ibm.com
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list