MLBEDSW-1828: Ifm/ifm2 order is reversed in some cases of split

Signed-off-by: Charles Xu <charles.xu@arm.com>
Change-Id: Ib8d66f8b3c0467966165c1b53aeb7da7c8764c89
diff --git a/ethosu/vela/pass_packing.py b/ethosu/vela/pass_packing.py
index 5841ca2..4cfac33 100644
--- a/ethosu/vela/pass_packing.py
+++ b/ethosu/vela/pass_packing.py
@@ -314,7 +314,7 @@
                         if operation_set is None:
                             print("Warning:", curr_op.type, "operation is unknown or unsupported, placing on CPU")
 
-                        for inp in curr_op.inputs:
+                        for inp in reversed(curr_op.inputs):
                             can_pack = True
                             if len(inp.ops) == 1:
                                 next_op = inp.ops[0]