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

Bill Schmidt wschmidt at linux.vnet.ibm.com
Thu Oct 4 12:45:35 PDT 2012


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





More information about the llvm-commits mailing list