nir/nir_opt_move: fix ALWAYS_INLINE compiler error

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Closes: #6825
Fixes: f1d20ec6 ("nir/nir_opt_move: handle non-SSA defs ")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17439>
This commit is contained in:
t0b3 2022-12-10 14:32:53 +01:00 committed by Marge Bot
parent 5b3fb44ecc
commit 267dd1f4d5

View file

@ -51,13 +51,13 @@
* lower register pressure.
*/
static ALWAYS_INLINE bool
static inline bool
src_is_ssa(nir_src *src, void *state)
{
return src->is_ssa;
}
static ALWAYS_INLINE bool
static inline bool
instr_reads_register(nir_instr *instr)
{
return !nir_foreach_src(instr, src_is_ssa, NULL);