gallivm: remove unused LP_FUNC_ATTR_INACCESSIBLE_MEM_ONLY
authorMarek Olšák <marek.olsak@amd.com>
Sun, 4 Dec 2022 06:36:44 +0000 (01:36 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 6 Dec 2022 13:27:16 +0000 (13:27 +0000)
LLVM 16 removed it anyway.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20146>

src/gallium/auxiliary/gallivm/lp_bld_intr.c
src/gallium/auxiliary/gallivm/lp_bld_intr.h

index 6d71830..ba18627 100644 (file)
@@ -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:
index a73f64c..7714f96 100644 (file)
@@ -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