diff options
Diffstat (limited to 'src/panfrost/midgard/compiler.h')
-rw-r--r-- | src/panfrost/midgard/compiler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h index 024aaf93f64..1ab0d4dd0d1 100644 --- a/src/panfrost/midgard/compiler.h +++ b/src/panfrost/midgard/compiler.h @@ -27,6 +27,7 @@ #include "midgard.h" #include "helpers.h" #include "midgard_compile.h" +#include "midgard_ops.h" #include "lcra.h" #include "util/hash_table.h" @@ -462,7 +463,7 @@ mir_exit_block(struct compiler_context *ctx) static inline bool mir_is_alu_bundle(midgard_bundle *bundle) { - return IS_ALU(bundle->tag); + return midgard_word_types[bundle->tag] == midgard_word_type_alu; } /* Registers/SSA are distinguish in the backend by the bottom-most bit */ |