nir: Add a new nir_cf_list_is_empty_block() helper.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Apr 2019 18:22:20 +0000 (11:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 29 Apr 2019 05:36:08 +0000 (22:36 -0700)
commit2b44b27dbe994a39d511211dcce1bb8367b0d066
treec3985cbcfebd76e04c17d2d22cd9c8eefc274ff6
parent08dc93c67c7d599a09cf353d50a3f0cf72f76135
nir: Add a new nir_cf_list_is_empty_block() helper.

Helper and name suggested by Eric Anholt.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/compiler/nir/nir.h