From: Dave Airlie Date: Sun, 26 Jan 2020 21:21:17 +0000 (+1000) Subject: gallivm/nir: add missing break for isub. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58ba7b696ddd8c038188d414584e77aae35efe54;p=mesa.git gallivm/nir: add missing break for isub. Pointed out by coverity scan. Fixes: 3adf74f2ef55 ("gallivm: pick integer builders for alu instructions.") Reviewed-by: Bas Nieuwenhuizen Tested-by: Marge Bot Part-of: --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.c b/src/gallium/auxiliary/gallivm/lp_bld_nir.c index 7a0e4175b43..f6e84855bf5 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.c @@ -680,7 +680,7 @@ static LLVMValueRef do_alu_action(struct lp_build_nir_context *bld_base, case nir_op_isub: result = lp_build_sub(get_int_bld(bld_base, false, src_bit_size[0]), src[0], src[1]); - + break; case nir_op_ixor: result = lp_build_xor(get_int_bld(bld_base, false, src_bit_size[0]), src[0], src[1]);