From 21790954a60cf3d9a7e10e5c952c284ef22dcac1 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 1 Aug 2023 10:40:32 -0400 Subject: [PATCH] pan/mdg: Add missing static inline annotation Signed-off-by: Alyssa Rosenzweig Reviewed-by: Italo Nicola Acked-by: Faith Ekstrand Part-of: --- src/panfrost/midgard/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4