From e9edae3ecb1030f4b9a9e58f7962c5ab4abaf440 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 28 Sep 2019 09:48:27 -0400 Subject: [PATCH] pan/midgard: Don't double check SCALAR units Signed-off-by: Alyssa Rosenzweig --- src/panfrost/midgard/midgard_schedule.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/panfrost/midgard/midgard_schedule.c b/src/panfrost/midgard/midgard_schedule.c index ecc4f46..6435972 100644 --- a/src/panfrost/midgard/midgard_schedule.c +++ b/src/panfrost/midgard/midgard_schedule.c @@ -188,10 +188,6 @@ is_single_component_mask(unsigned mask) static bool mir_is_scalar(midgard_instruction *ains) { - /* Does the op support scalar units? */ - if (!(alu_opcode_props[ains->alu.op].props & UNITS_SCALAR)) - return false; - /* Do we try to use it as a vector op? */ if (!is_single_component_mask(ains->mask)) return false; -- 2.7.4