intel/compiler: Discount NOPs from instruction counts
authorMatt Turner <mattst88@gmail.com>
Thu, 27 Feb 2020 18:48:37 +0000 (10:48 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 9 Mar 2020 04:44:12 +0000 (04:44 +0000)
commite924181ea89e5e261f8aa24564c32ed22941e752
tree10c678c05839069dba0925de0524cfd61e4ac73f
parentbb3e7b0fe34e02607e14c812b7aa5a7d67f047d0
intel/compiler: Discount NOPs from instruction counts

Scheduler changes can cause changes in the number of instructions due to
this workaround, so just don't include NOPs in the instruction counts to
prevent shader-db noise.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4093>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4093>
src/intel/compiler/brw_fs_generator.cpp