Re: [PATCH] Move bswap pass into gimple-ssa-store-merging.c

2017-11-14 Thread Richard Biener
On November 14, 2017 10:25:28 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >I'll be working on further store-merging improvements next two days >and hope to use some of the bswap pass APIs to handle stuff like: >void foo (char *__restrict p, char *__restrict q) >{ > p[0] = q[3]; > p[1] = q[2]; >

[PATCH] Move bswap pass into gimple-ssa-store-merging.c

2017-11-14 Thread Jakub Jelinek
Hi! I'll be working on further store-merging improvements next two days and hope to use some of the bswap pass APIs to handle stuff like: void foo (char *__restrict p, char *__restrict q) { p[0] = q[3]; p[1] = q[2]; p[2] = q[1]; p[3] = q[0]; } or p[4] = data >> 8; p[5] = data; etc. As