snprintf(name, sizeof(name), "llvm.amdgcn.%s.buffer.store.%s", indexing_kind, type_name);
}
- ac_build_intrinsic(ctx, name, ctx->voidt, args, idx, AC_FUNC_ATTR_INACCESSIBLE_MEM_ONLY);
+ ac_build_intrinsic(ctx, name, ctx->voidt, args, idx, 0);
}
void ac_build_buffer_store_format(struct ac_llvm_context *ctx, LLVMValueRef rsrc, LLVMValueRef data,
if (LLVM_VERSION_MAJOR >= 13) {
result = ac_build_intrinsic(ctx, "llvm.amdgcn.live.mask", ctx->i1, NULL, 0,
- AC_FUNC_ATTR_READONLY | AC_FUNC_ATTR_INACCESSIBLE_MEM_ONLY);
+ AC_FUNC_ATTR_READONLY);
} else {
result = ac_build_intrinsic(ctx, "llvm.amdgcn.ps.live", ctx->i1, NULL, 0,
AC_FUNC_ATTR_READNONE);
return "readonly";
case AC_FUNC_ATTR_WRITEONLY:
return "writeonly";
- case AC_FUNC_ATTR_INACCESSIBLE_MEM_ONLY:
- return "inaccessiblememonly";
case AC_FUNC_ATTR_CONVERGENT:
return "convergent";
default:
AC_FUNC_ATTR_READNONE = (1 << 5),
AC_FUNC_ATTR_READONLY = (1 << 6),
AC_FUNC_ATTR_WRITEONLY = (1 << 7),
- AC_FUNC_ATTR_INACCESSIBLE_MEM_ONLY = (1 << 8),
- AC_FUNC_ATTR_CONVERGENT = (1 << 9),
+ AC_FUNC_ATTR_CONVERGENT = (1 << 8),
/* Legacy intrinsic that needs attributes on function declarations
* and they must match the internal LLVM definition exactly, otherwise