[Mesa-dev] [PATCH 1/2] gallivm, ac: remove unused FUNC_ATTR_LAST enums
Jose Fonseca
jfonseca at vmware.com
Wed Mar 1 16:16:48 UTC 2017
On 23/02/17 00:01, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> ---
> src/amd/common/ac_llvm_util.h | 1 -
> src/gallium/auxiliary/gallivm/lp_bld_intr.h | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/src/amd/common/ac_llvm_util.h b/src/amd/common/ac_llvm_util.h
> index 1f37a12..93d3d27 100644
> --- a/src/amd/common/ac_llvm_util.h
> +++ b/src/amd/common/ac_llvm_util.h
> @@ -34,21 +34,20 @@ extern "C" {
> #endif
>
> enum ac_func_attr {
> AC_FUNC_ATTR_ALWAYSINLINE = (1 << 0),
> AC_FUNC_ATTR_BYVAL = (1 << 1),
> AC_FUNC_ATTR_INREG = (1 << 2),
> AC_FUNC_ATTR_NOALIAS = (1 << 3),
> AC_FUNC_ATTR_NOUNWIND = (1 << 4),
> AC_FUNC_ATTR_READNONE = (1 << 5),
> AC_FUNC_ATTR_READONLY = (1 << 6),
> - AC_FUNC_ATTR_LAST = (1 << 7)
> };
>
> LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family, bool supports_spill);
>
> void ac_add_attr_dereferenceable(LLVMValueRef val, uint64_t bytes);
> bool ac_is_sgpr_param(LLVMValueRef param);
>
> void
> ac_add_function_attr(LLVMValueRef function,
> int attr_idx,
> diff --git a/src/gallium/auxiliary/gallivm/lp_bld_intr.h b/src/gallium/auxiliary/gallivm/lp_bld_intr.h
> index f1e075a..039e9ab 100644
> --- a/src/gallium/auxiliary/gallivm/lp_bld_intr.h
> +++ b/src/gallium/auxiliary/gallivm/lp_bld_intr.h
> @@ -47,21 +47,20 @@
> #define LP_MAX_FUNC_ARGS 32
>
> enum lp_func_attr {
> LP_FUNC_ATTR_ALWAYSINLINE = (1 << 0),
> LP_FUNC_ATTR_BYVAL = (1 << 1),
> LP_FUNC_ATTR_INREG = (1 << 2),
> LP_FUNC_ATTR_NOALIAS = (1 << 3),
> LP_FUNC_ATTR_NOUNWIND = (1 << 4),
> LP_FUNC_ATTR_READNONE = (1 << 5),
> LP_FUNC_ATTR_READONLY = (1 << 6),
> - LP_FUNC_ATTR_LAST = (1 << 7)
> };
>
> void
> lp_format_intrinsic(char *name,
> size_t size,
> const char *name_root,
> LLVMTypeRef type);
>
> LLVMValueRef
> lp_declare_intrinsic(LLVMModuleRef module,
>
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
More information about the mesa-dev
mailing list