Re: [Mesa-dev] [PATCH v2 10/11] nir: Add an array copy optimization

2018-08-22 Thread Caio Marcelo de Oliveira Filho
> I've applied your suggestions. Please double-check: > > https://gitlab.freedesktop.org/jekstrand/mesa/commit/28c01e9a0ce84ff53fa8805e4a35a691ea3fc744 Reviewed-by: Caio Marcelo de Oliveira Filho ___ mesa-dev mailing list mesa-dev@lists.freedesktop.o

Re: [Mesa-dev] [PATCH v2 10/11] nir: Add an array copy optimization

2018-08-22 Thread Jason Ekstrand
On Tue, Aug 21, 2018 at 7:49 PM Caio Marcelo de Oliveira Filho < caio.olive...@intel.com> wrote: > On Sat, Jul 28, 2018 at 10:44:41PM -0700, Jason Ekstrand wrote: > > This peephole optimization looks for a series of load/store_deref or > > copy_deref instructions that copy an array from one variab

Re: [Mesa-dev] [PATCH v2 10/11] nir: Add an array copy optimization

2018-08-21 Thread Caio Marcelo de Oliveira Filho
On Sat, Jul 28, 2018 at 10:44:41PM -0700, Jason Ekstrand wrote: > This peephole optimization looks for a series of load/store_deref or > copy_deref instructions that copy an array from one variable to another > and turns it into a copy_deref that copies the entire array. The > pattern it looks for

[Mesa-dev] [PATCH v2 10/11] nir: Add an array copy optimization

2018-07-28 Thread Jason Ekstrand
This peephole optimization looks for a series of load/store_deref or copy_deref instructions that copy an array from one variable to another and turns it into a copy_deref that copies the entire array. The pattern it looks for is extremely specific but it's good enough to pick up on the input arra