From e54f2286bea66186001ad42ee5019657f0e98041 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 4 Dec 2022 01:36:44 -0500 Subject: [PATCH] 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: --- src/gallium/auxiliary/gallivm/lp_bld_intr.c | 1 - src/gallium/auxiliary/gallivm/lp_bld_intr.h | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) 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 -- 2.7.4