nir/opt_dead_cf: correction of side effect check
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Fri, 29 Apr 2016 18:31:58 +0000 (20:31 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 30 Apr 2016 19:16:22 +0000 (12:16 -0700)
commit69357261972ede8ef4c6ed315a416b94c9300724
tree9e2cd60a1b619ddb0c040cab448bf40dfd486c15
parent663c0e5155e9916b10163c102f0ece4eda5c3154
nir/opt_dead_cf: correction of side effect check

Parenthesis are needed here as ! takes precedence over the &. The
check had the opposite effect than intended.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_opt_dead_cf.c