From: Alyssa Rosenzweig Date: Tue, 1 Aug 2023 14:40:32 +0000 (-0400) Subject: pan/mdg: Add missing static inline annotation X-Git-Tag: upstream/23.3.3~4833 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21790954a60cf3d9a7e10e5c952c284ef22dcac1;p=platform%2Fupstream%2Fmesa.git pan/mdg: Add missing static inline annotation Signed-off-by: Alyssa Rosenzweig Reviewed-by: Italo Nicola Acked-by: Faith Ekstrand Part-of: --- diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h index 1a362bd..fbb52e5 100644 --- a/src/panfrost/midgard/compiler.h +++ b/src/panfrost/midgard/compiler.h @@ -459,7 +459,7 @@ make_compiler_temp_reg(compiler_context *ctx) return ((ctx->func->impl->ssa_alloc + ctx->temp_alloc++) << 1) | PAN_IS_REG; } -static bool +static inline bool mir_is_ssa(unsigned index) { return (index < SSA_FIXED_MINIMUM) && !(index & PAN_IS_REG);