Re: [PATCH] Shortcut identity VEC_PERM expansion [PR94710]

2020-04-23 Thread Richard Biener
On April 23, 2020 9:04:40 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >This PR is about the rs6000 backend emitting wrong assembly >for whole vector shift by 0, and while I think it is desirable >to fix the backend, I don't see a point why the expander should >try to emit that, whole vector shift by

[PATCH] Shortcut identity VEC_PERM expansion [PR94710]

2020-04-23 Thread Jakub Jelinek via Gcc-patches
Hi! This PR is about the rs6000 backend emitting wrong assembly for whole vector shift by 0, and while I think it is desirable to fix the backend, I don't see a point why the expander should try to emit that, whole vector shift by 0 is identity, we can just return the operand. Bootstrapped/regtes