gallivm/nir: Pull some repeated exec_mask computation out of loops.
authorEmma Anholt <emma@anholt.net>
Thu, 10 Feb 2022 19:27:31 +0000 (11:27 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 6 Apr 2022 00:04:14 +0000 (00:04 +0000)
commit21b3db7d179c6c6fcd9becaada053b02834ad394
treee1af1b8015027b4131a3d976401f609341b65faf
parent9ab4ecb1ae82db5793bc3bb17ea0cab625d88ec3
gallivm/nir: Pull some repeated exec_mask computation out of loops.

If the exec mask hasn't changed, don't hassle LLVM to set it up

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14999>
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c