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]

[PATCH, RFC] PR 55415 : Pessimistic misalignment from eipa_sra pass


The get_pointer_alignment function can indicate that it does not know
what the alignment should be, and it always fills in worst-case values
for that case.  We should not use these worst-case values to "optimize"
the interface of a function.

At minimum I think something like the following would be good.  But
I'm unsure why we would *ever* want to lower the alignment at a function
interface.  It seems to me that we'd simply want the caller to handle
copying the data to an aligned location?

What was the use case of this code in the first place?



r~

Attachment: zz
Description: Text document


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