nir/lcssa: allow to create LCSSA phis for loop-invariant booleans
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 5 Aug 2019 14:24:18 +0000 (15:24 +0100)
committerDaniel Schürmann <daniel@schuermann.dev>
Tue, 20 Aug 2019 15:40:05 +0000 (17:40 +0200)
commit911a1dfad25feb32e7030b54abd0c69e415f9cc7
treee6cd3854d0b0c6d38f2fb633910a82e8a75f7a06
parent9c40ad49d5ae69b6aa6c51b464df5ba6ce78876b
nir/lcssa: allow to create LCSSA phis for loop-invariant booleans

ACO depends on LCSSA phis for divergent booleans to work correctly.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir.h
src/compiler/nir/nir_to_lcssa.c