nir: use | instead of || operator
authorAndrii Simiklit <andrii.simiklit@globallogic.com>
Mon, 22 Jul 2019 15:00:34 +0000 (18:00 +0300)
committerAndrii Simiklit <andrii.simiklit@globallogic.com>
Tue, 23 Jul 2019 15:08:58 +0000 (18:08 +0300)
commit79ab2c3e5764f6ac5e20338dc2c6c750eed9abd2
tree4823a985397d50724f66bfbffb3e29a11f8315cb
parent397f9ba69fcaef17de5c8f639957743890fa7805
nir: use | instead of || operator

warning: use of logical '||' with constant operand
note: use '|' for a bitwise operation

Fixes: 758fdce9fee ("nir: Add some generic helpers for writing lowering passes")
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
src/compiler/nir/nir.c