https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63679

--- Comment #27 from Tejas Belagod <belagod at gcc dot gnu.org> ---
We'd want to scalarize this early preferably in SRA as it gives a chance to
passes like vectorization to vectorize more loops. I checked that
sra-max-scalarization-Osize{-Ospeed} had no effect on scalarizing 'a = *.LC0'
and that's one of the cost functions that affects scalarization. Also, isn't it
difficult to decide scalarization of aggregates based on how it might be
optimized in the future passes as accurately predicting the transformations it
could go through in subsequent passes is not easy?

Reply via email to