This is the mail archive of the gcc-bugs@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]

[Bug rtl-optimization/70784] Merge multiple short stores of immediates into wider stores


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Dup.

Note we already have two passes that can do related transforms.

 1) bswap which can detect adjacent loads (that then feed a (non-)bswap
 sequence to build a larger value)

 2) basic-block vectorization (which does not consider (all) non-vector
 types for BLKmode vectorization)

2) has the additional limitation to only consider same-sized sub-stores so
doing this in the general framework of 1) may be easier.

Adding a new pass only considering adjacent stores may also be possible.

*** This bug has been marked as a duplicate of bug 22141 ***

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