Re: [PATCH] Assorted store-merging improvements (PR middle-end/22141)

2017-10-30 Thread Richard Biener
On Fri, 27 Oct 2017, Jakub Jelinek wrote: > Hi! > > The following patch attempts to improve store merging, for the time being > it still only optimizes constant stores to adjacent memory. > > The biggest improvement is handling bitfields, it uses the get_bit_range > helper to find the bounds of

[PATCH] Assorted store-merging improvements (PR middle-end/22141)

2017-10-27 Thread Jakub Jelinek
Hi! The following patch attempts to improve store merging, for the time being it still only optimizes constant stores to adjacent memory. The biggest improvement is handling bitfields, it uses the get_bit_range helper to find the bounds of what can be modified when modifying the bitfield and inst