From: Marek Olšák Date: Sun, 4 Dec 2022 06:36:44 +0000 (-0500) Subject: gallivm: remove unused LP_FUNC_ATTR_INACCESSIBLE_MEM_ONLY X-Git-Tag: upstream/23.3.3~15931 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e54f2286bea66186001ad42ee5019657f0e98041;p=platform%2Fupstream%2Fmesa.git gallivm: remove unused LP_FUNC_ATTR_INACCESSIBLE_MEM_ONLY LLVM 16 removed it anyway. Reviewed-by: Pierre-Eric Pelloux-Prayer Reviewed-by: Roland Scheidegger Part-of: --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_intr.c b/src/gallium/auxiliary/gallivm/lp_bld_intr.c index 6d71830..ba18627 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_intr.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_intr.c @@ -141,7 +141,6 @@ static const char *attr_to_str(enum lp_func_attr attr) case LP_FUNC_ATTR_READNONE: return "readnone"; case LP_FUNC_ATTR_READONLY: return "readonly"; case LP_FUNC_ATTR_WRITEONLY: return "writeonly"; - case LP_FUNC_ATTR_INACCESSIBLE_MEM_ONLY: return "inaccessiblememonly"; case LP_FUNC_ATTR_CONVERGENT: return "convergent"; case LP_FUNC_ATTR_PRESPLITCORO: return "presplitcoroutine"; default: diff --git a/src/gallium/auxiliary/gallivm/lp_bld_intr.h b/src/gallium/auxiliary/gallivm/lp_bld_intr.h index a73f64c..7714f96 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_intr.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_intr.h @@ -56,9 +56,8 @@ enum lp_func_attr { LP_FUNC_ATTR_READNONE = (1 << 5), LP_FUNC_ATTR_READONLY = (1 << 6), LP_FUNC_ATTR_WRITEONLY = (1 << 7), - LP_FUNC_ATTR_INACCESSIBLE_MEM_ONLY = (1 << 8), - LP_FUNC_ATTR_CONVERGENT = (1 << 9), - LP_FUNC_ATTR_PRESPLITCORO = (1 << 10), + LP_FUNC_ATTR_CONVERGENT = (1 << 8), + LP_FUNC_ATTR_PRESPLITCORO = (1 << 9), /* Legacy intrinsic that needs attributes on function declarations * and they must match the internal LLVM definition exactly, otherwise