intel/nir: Combine store_derefs after vectorizing IO
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 8 Mar 2019 19:50:47 +0000 (11:50 -0800)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 13 Mar 2019 15:39:16 +0000 (08:39 -0700)
commit10dfb0011e7079e770184d252045c13c40e6b274
tree20f379cdb2143ed3bd6cbe22bbfc67d48fa79f08
parent822a8865e4645ed7e1818568d1d0338b462c7748
intel/nir: Combine store_derefs after vectorizing IO

Shader-db results for skl:

    total instructions in shared programs: 15232903 -> 15224781 (-0.05%)
    instructions in affected programs: 61246 -> 53124 (-13.26%)
    helped: 221
    HURT: 0

    total cycles in shared programs: 371440470 -> 371398018 (-0.01%)
    cycles in affected programs: 281363 -> 238911 (-15.09%)
    helped: 221
    HURT: 0

Results for bdw are very similar.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_nir.c