This is the mail archive of the
mailing list for the GCC project.
r242091 - in /branches/ARM/sve-branch/gcc: func...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 16:57:59 -0000
- Subject: r242091 - in /branches/ARM/sve-branch/gcc: func...
Date: Fri Nov 11 16:57:58 2016
New Revision: 242091
Tweak LRA handling of shared spill slots
The previous code processed the users of a stack slot in order of
decreasing size and allocated the slot based on the first user.
This seems a bit dangerous, since the ordering is based on the
mode of the biggest reference while the allocation is based also
on the size of the register itself (which I think could be larger).
That scheme doesn't scale well to polynomial sizes, since there's
no guarantee that the order of the sizes is known at compile time.
This patch instead records an upper bound on the size required
by all users of a slot. It also records the maximum alignment