On 06/28/2018 03:25 PM, Caio Marcelo de Oliveira Filho wrote:
> Hi,
>
>> diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c
>> index 67c062d91f5..6a0d4090fa7 100644
>> --- a/src/intel/compiler/brw_nir.c
>> +++ b/src/intel/compiler/brw_nir.c
>> @@ -557,7 +557,22 @@ brw_nir_opt
Hi,
> diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c
> index 67c062d91f5..6a0d4090fa7 100644
> --- a/src/intel/compiler/brw_nir.c
> +++ b/src/intel/compiler/brw_nir.c
> @@ -557,7 +557,22 @@ brw_nir_optimize(nir_shader *nir, const struct
> brw_compiler *compiler,
>
From: Ian Romanick
Shader-db results:
The one shader hurt for instructions is a compute shader that had both
spills and fills hurt. The other shader that had spill hurt also had
fills helped by more.
Skylake, Broadwell, and Haswell had similar results. (Skylake shown)
total instructions in sha