intel/compiler: Update block IPs once in opt_cmod_propagation
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 29 Jun 2021 03:53:22 +0000 (20:53 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 14 Jul 2021 16:57:06 +0000 (09:57 -0700)
commit3cb203303c33b9953dfe12c25d295535c336c78a
treecb6683f350ac23ecd712a431cd3b57083d1a61cd
parent8f1052938d5a45f007d0d8f109958acea1f01c33
intel/compiler: Update block IPs once in opt_cmod_propagation

No difference proven at 95.0% confidence (n=10) in
dEQP-VK.ssbo.phys.layout.random.16bit.scalar.13.

v2: Only update each block's IP data once instead of once per block.
Suggested by Emma.

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11632>
src/intel/compiler/brw_fs_cmod_propagation.cpp