target/hexagon: remove unnecessary checks in find_iclass_slots
authorTaylor Simpson <tsimpson@quicinc.com>
Mon, 15 Mar 2021 04:53:57 +0000 (23:53 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 1 May 2021 15:31:42 +0000 (08:31 -0700)
Reported-by: Richard Henderson <<richard.henderson@linaro.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <1615784037-26129-1-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hexagon/iclass.c

index 378d8a6a75233ad445903a5f814c6f63af3d25de..6091286993570c2aed29013d00d0d5757a851a59 100644 (file)
@@ -53,10 +53,6 @@ SlotMask find_iclass_slots(Opcode opcode, int itype)
                (opcode == Y2_isync) ||
                (opcode == J2_pause) || (opcode == J4_hintjumpr)) {
         return SLOTS_2;
-    } else if ((itype == ICLASS_V2LDST) && (GET_ATTRIB(opcode, A_STORE))) {
-        return SLOTS_01;
-    } else if ((itype == ICLASS_V2LDST) && (!GET_ATTRIB(opcode, A_STORE))) {
-        return SLOTS_01;
     } else if (GET_ATTRIB(opcode, A_CRSLOT23)) {
         return SLOTS_23;
     } else if (GET_ATTRIB(opcode, A_RESTRICT_PREFERSLOT0)) {