This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: tree-ssa-sink breaks stack layout


Richard Guenther <richard.guenther@gmail.com> writes:

> No idea if that would (easily) work out, of course.  Some targets
> may have different costs and thus optimization decision based
> on the offset size used with virtual-stack-vars.

Certainly true, but I bet that we could generate better code for such
targets than we do today, because we would have a chance to sort the
most frequently used stack variables into the lower stack offsets.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]